elseiver: (zayka blueher)
[personal profile] elseiver
Dim img_data As Byte() = New Byte(txtFileName.PostedFile.ContentLength){}

А как бы написали вы?
Продолжение следует:)

Date: 2012-02-07 04:23 am (UTC)
From: [identity profile] elder-george.livejournal.com
Там в примере для VB написано следующее:

' Create a byte array to hold the contents of the file.
Dim Input(fileLen - 1) As Byte
Input = FileUpload1.FileBytes

Скорее всего, автор статьи решил, не заморачиваясь различиями в семантике, перевести построчно.

November 2016

S M T W T F S
  12345
67 89101112
13 141516171819
20212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 14th, 2026 11:38 am
Powered by Dreamwidth Studios