Posted on: 6/3/2014 11:47:58 AM | Views : 401

i want to have a browse button that allows me to select an image.
I was also given this code to use it
byte[] file_Link = null;  if (fileLink.FileName != null && fileLink.FileName !="") { System.IO.FileInfo file = new System.IO.FileInfo(fileLink.PostedFile.FileName); attachmentExtension = file.Extension.Remove(0, 1).ToUpper();
file_Link = new byte[fileLink.PostedFile.ContentLength]; HttpPostedFile uploadedImage = fileLink.PostedFile; uploadedImage.InputStream.Read(file_Link, 0, (int)fileLink.PostedFile.ContentLength);  }
what does this code mean and how is that helpful?

Go to the complete details ...