المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : size of fileupload



C# Programming
09-06-2012, 04:00 PM
Hi

i have a fileupload control in form, and now i want to check the size of file before upload it. i wrote this code but the value of fileSize = 0 all the time. what should i do. can anybody help me?


int fileSize = fuSignature.PostedFile.ContentLength