I am trying to resize the image that is being uploaded using FileUpload control in ASP.net using VB.NET
I am using a file upload code:
If FileUpload1.HasFile Then
Dim theFileName As String = Path.Combine(Server.MapPath("~/Uploads"), newfile)
FileUpload1.SaveAs(theFileName)
End If
How do I resize the image to width:270px height:307px?