How to retrieve a image in dataset using C#.net

Posted by Rrana under ASP.NET on 12/20/2011 | Points: 10 | Views : 3736 | Status : [Member] | Replies : 4
Hi All,

My task is to dispaly the images in dataset.
Images and their text name are stored in database.
i need to dispaly the textname and image names.

Ex:-

Dataset:-

Folwer Nature Baby //Image Text Name

flow.jpg Na.jpg Baby.jpg //Images.

Hi Varun,


Can any one send me the sample code for this.

Thanks in Advance

Sucharitha Goud
Bank Of America..



Responses

Posted by: Nilschaudhari on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
hi,

You get the Image in dataset by using the Image dataype for selecting the image.
When it gets you can bind it to bridview or using for loop you can see that image

Rrana, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rrana on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Nilschaudhari,

Thanks for your reply,


Can you send me the sample code for this.

Sucharitha Goud
Bank Of America..

Rrana, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nilschaudhari on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
hi Sucharitha,

Please check this link it will shows sample code as you need
http://csharpdotnetfreak.blogspot.com/2009/07/display-images-gridview-from-database.html

http://www.codeproject.com/KB/aspnet/GridImage.aspx

Rrana, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rrana on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Nilschaudhari,

Thanks for your reply,


Sucharitha Goud
Bank Of America..

Rrana, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response