I am using UserName, EmailID, Password, File upload control ... I am succsufully comple save(Insert Logic ) ..Deatails are display in Gridview .. But No updations in gridview ...
Only displaying Purpose i used gridview. Main task is : IN Gridview Edit button, Delete ( When i click on edit button ... Records Details are viewing in Above( UserName, Password, EmailID, FileUpload Control ) .... How to retrieve image , + How to update logic especially Image ...Any One Please Help me ....( Not Update In Gridview ) How to data Taken From Edit button to how to update ....?

Sai Prasad AnumoluPosted Aug 11, 2014, 4:59 AM
Please Send me one example .... I added Source file
Pradeep ShetPosted Aug 11, 2014, 4:35 AM
You can do one thing. As you said you want to load image right?
There are 2 options to save image along with details.
1) Save the relative path along with file name.
2) Store image itself in database keeping datatype as image
For first case, you can just retrieve the filepath which is stored in database and using Server.MapPath(), load the image in
For second case, storing the file can be in database using FileUpload.PostedFile.InputStream.
This is an byte array which can be stored in database having column of datatype image.
While loading the image in
Hope this answers your query. If yes then mark it as answered.