字节数组的类型1维iof的值不能转换为字节 [英] value of type 1-dimension iof array of byte cannot be converted of byte
本文介绍了字节数组的类型1维iof的值不能转换为字节的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将imageSize设置为Byte = New Byte(FileUpload1.PostedFile.ContentLength-1){}类型1维度的值iof字节数组无法转换为字节
Dim imageSize As Byte = New Byte(FileUpload1.PostedFile.ContentLength - 1) {} value of type 1-dimension iof array of byte cannot be converted of byte
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))
推荐答案
这不是问题,您需要什么确认?任何你想要的;这是一个确认:
当然不能. :-)
您的代码看起来像胡言乱语,您没有告诉我们您想要实现什么,所以这是的答案.
—SA
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
这篇关于字节数组的类型1维iof的值不能转换为字节的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文