Is this how to limit file size wih fileupload control?
and how can I make it to accept file size above this limit and mae it accept file size of not more than 600kb?
if (FileUpload1.PostedFile.ContentLength < 102400)
FileUpload1.SaveAs(Server.MapPath("~/img/") + FileUpload1.FileName);
Label1.Text = "Image Uploaded Successfully !!";
Label1.Text = "Image size must be less than 100kb";