how to upload image in gridview using asp.net with example

Posted by Venky.Net under ASP.NET on 4/26/2014 | Points: 10 | Views : 2092 | Status : [Member] | Replies : 2
hi

i am using file upload control.i want output my gridview contain three columns
1.image
2.dropdown
3.textbox
my page also having fileupload control.
when i click fileupload control and select image and display particular image in gridview first columns and this image store sepaerate folder in my project and when the user edit the entry and display images in corresponding entry.




Responses

Posted by: Vforvijay on: 4/28/2014 [Member] Starter | Points: 25

Up
0
Down
hi..
Refer the below links to upload images in gridview
http://www.dotnetcode.in/2011/06/how-to-store-imageurl-in-database-and.html


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

Posted by: A2H on: 4/28/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
Please check the below links

To Save Files from File Upload Control to DB
http://www.aspsnippets.com/Articles/Save-Files-to-SQL-Server-Database-using-FileUpload-Control.aspx
To Display the Files from DB
http://www.aspsnippets.com/Articles/Display-images-from-SQL-Server-Database-in-ASP.Net-GridView-control.aspx

Thanks,
A2H
My Blog

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

Login to post response