Click here to Skip to main content
16,009,391 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dears,

is there a difference between HTTPPostedFile and fileupload.postedfile

for more clarification i mean that what is the advantage of writing the below line

[ HttpPostedFile uploadedfile = fileupload1.PostedFile; ]

keep in mind that i can use the two below lines .

byte[] img = new byte[Fileupload1.PostedFile.ContentLength];
OR
byte[] img = new byte[uploadedfile.ContentLength];

So what is the advantage of using HTTpPostedFile .




Best Regards,
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900