Hello All,
I have taken asp:fileupload with the help of this control m successfully able to save image path in database
But i have 1 problem when m going to edit my data from front end m fetching all the data in control with the help of dataset but m not able to fetch the image path in fileupload control field from database
if any1 knws this plz help me out
Loading
Dhaval PatelPosted Nov 20, 2012, 4:39 AM
SO YOU WANT TO SHOW IMAGE THAN USE ASP IMAGE CONTROL OR DOWNLOAD FILE FOR OTHER TYPES OF FILE LIKE DOC,EXCEL THAN USE LINKBUTTON FOR DOWNLOAD FILE
PLEASE GO THROUGH BELOW LINK FOR YOUR HELP..
http://www.codeproject.com/Questions/460798/proble-with-display-image-from-database-in-asp-net
http://aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx
http://www.dotnetfunda.com/articles/article1084-saving-images-into-the-database-in-aspnet-and-displaying-to-the-gridview.aspx
tejal bhesaniyaPosted Nov 20, 2012, 4:30 AM
Dhaval PatelPosted Nov 20, 2012, 4:08 AM
please use linkbutton and given path for you file
like this EmpFile/folder1/'from database to file name'
Shivanand ArurPosted Nov 20, 2012, 4:05 AM
Check these links to learn about Fileupload control.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx
http://msdn.microsoft.com/en-us/library/ms227677(v=vs.80).aspx
Hope this helps u out.
Thank u.
Please mark the answer as accepted if it helped!!!