0
Reply

parameter is not vaiid using upload control in asp.net

mukesh panth

mukesh panth

May 25 2012 4:25 AM
966
Hi All,

I am using vs2008,asp.net and vb.net

I am getting error "parameter is not valid" in this line of code

I have used this code

If FileUpload1.PostedFile.FileName <> "" Then

in_file = FileUpload1.PostedFile.FileName ' **** ADD THIS
selected_image = New System.Drawing.Bitmap(in_file)
property_ids = selected_image.PropertyIdList
End If

One thing this code is succesfully running in window form.

how can to this in asp.net ............
plz help

Regards
mukesh