I Use ASP .NET 3.5 C#, and i whould like to get the picture that the user trying to upload from
<input type="file" name="uploadPicture" id="uploadPicture">
Can i just use:
Request.Form["uploadPicture"];
And what next?
Never played around with uploading files with forms, I wish to save this file on my File System and save the path on the database.
I need also to check the format, size and dimensions, and maybe even resize it if possible.
Thanks, Dan
Use like this
Check out the following code
EDIT
you can get image size from HttpPostedFile as below
and for image height and width you can used the following function