Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

how do I fill an asp.net image control from a dataset created by reading a SQL Azure table containing an image datatype stored in byte mode?

$
0
0

I'm using VS 2012 Pro creating an asp.net website in the Azure environment with VB.Net codebehind and SQL Azure. I created a windows app as a sysadmin tool to do CRUD operations on the DB. As part of that process I convert a *.jpg file to bytes and store the bytes in a SQL Azure table as an image data type. when I read the stored record I have vb code that converts the bytes into a format that a windows Pic object will accept and display. In the ASP.net system I have an object that reads the records on the server and creates a dataset that I pass to the front end. I want to fill 2 asp.net image controls in a repeater on a web forms page. I think this is a fairly straight forward function but I can't find an example. Can anyone assist me?  Pres 


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>