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 PatelRank #1,023 · 1.9K reputationPosted Nov 19, 2012, 11:39 PM EST
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
Shivanand ArurRank #920 · 2.3K reputationPosted Nov 19, 2012, 11:05 PM EST
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!!!
Dhaval PatelRank #1,023 · 1.9K reputationPosted Nov 19, 2012, 11:08 PM EST
please use linkbutton and given path for you file
like this EmpFile/folder1/'from database to file name'
tejal bhesaniya52 reputationPosted Nov 19, 2012, 11:30 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts