Carlos Sanchez

Carlos Sanchez

  • NA
  • 264
  • 0

Image File Size

Jul 19 2004 10:51 AM
How to Get the Size of a Image File? I have a Employees table, and one of the columns store the employee picture. The picture is selected by the user by a OpenFileDialog: OpneFileDialog1_FileOk() { Image pict = new Image(); pict = Image.FromFile(OpneFileDialog1.FileName); //Uploading to the DataBase } Before Uploading to the DataBase a want to know whether the File is less than 100 KBytes Any Idea? Thanx in advance.

Answers (2)