how i can stop the zero bytes file uploading
ASP.NET
4
Posts
3
Posters
0
Views
1
Watching
-
iam using file upload control to upload the file but when iam selecting the zero bites size file then i want to get the message that u have selected zero bytes file how can it be possible.
if (FileUpload1.PostedFile.ContentLength == 0)
{
//Your messagae goes here
}All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
if (FileUpload1.PostedFile.ContentLength == 0)
{
//Your messagae goes here
}All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions