Link to home
Start Free TrialLog in
Avatar of kmc10314
kmc10314

asked on

uploading images c#

I'm trying to make a form where user put their information, and upload their images.
Lots of websites tell me how to do things separately.

For example, they all show me how to upload picture (just the picture only), but
I want the filepath of the picture to be uploaded to database along with the other information
submitted.

So when a person clicks the submit,
name, address and other info get uploaded into DB with the image (filename and path)
Avatar of guru_sami
guru_sami
Flag of United States of America image

if you are using fileupload control, you get the name like: FileUpLoad1.FileName

http://www.c-sharpcorner.com/uploadfile/mahesh/fileupload10092005172118pm/fileupload.aspx?articleid=79850d6d-0e91-4d7b-9e27-a64a09b0ee6b

For path: It will be a path on server, and it could be a static one I believe e.g. ~/images or depends on where you are uploading.
ASKER CERTIFIED SOLUTION
Avatar of kmc10314
kmc10314

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial