Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dim imageSize As Byte = New Byte(FileUpload1.PostedFile.ContentLength - 1) {} value of type 1-dimension iof array of byte cannot be converted of byte
C#
Dim imageSize As Byte = New Byte(FileUpload1.PostedFile.ContentLength - 1) {}
Dim uploadedImage_1 As HttpPostedFile = FileUpload1.PostedFile
uploadedImage_1.InputStream.Read(imageSize, 0, CType(FileUpload1.PostedFile.ContentLength))
Posted
Comments
Sergey Alexandrovich Kryukov 2-Aug-12 2:05am    
Not a question.
--SA

1 solution

As this is not a question, what do you need, a confirmation? Whatever you want; here is a confirmation:

Of course it cannot. :-)

You code looks like gibberish, you did not tell us what do you want to achieve, so this is the answer.

—SA
 
Share this answer
 

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