Author: istakoza | Posted on: 1/7/2010 1:01:00 AM | Views : 461

I am trying to get an image from a fileupload control, resize the image file size and dimensions, and then upload it to my Data Base.
So far I have succeeded at uploading images to my Data Base without resizing. I have been uploading images to my Data Base in a DetailsView1_ItemInserting event like this:
Dim UploadedFile1 As FileUpload = CType(DetailsView1.FindControl("Fileupload1"), FileUpload)


Dim extension1 As String = Path.GetExtension(UploadedFile1.PostedFile.FileName).ToLower()         Dim MIMEType1 As String = Nothing Go to the complete details ...