Tamer_Ahmed Posted September 23, 2004 Posted September 23, 2004 how can i let the user browse his machine with normal openfiledialog and upload the image on my server and then insert it into the database Quote
Moderators Robby Posted September 23, 2004 Moderators Posted September 23, 2004 To browse for files use System.Web.UI.HtmlControls.HtmlInputFile, this will create the tag <INPUT TYPE=�file� />. Here's an article of use...http://www.codeproject.com/aspnet/fileupload.asp Keep in mind that in the long run you're better off saving the image to disk and only saving the path of the image to the database. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.