S
Stephen
Hi,
I code in C# and I have a problem in VB.NET
how do i declare bytes in VB.Net
the code in C# is as follows
string fileName;
int fileSize;
string contentType;
byte[] fileData; <--- how do I define this?
fileName = rd.GetString(0);
fileSize = rd.GetInt32(1);
contentType = rd.GetString(2);
fileData = new Byte[fileSize]; <---- and this
rd.GetBytes(3, 0, fileData, 0, fileSize);
I am stuck at simple declarations...
thanks,
Stephen
I code in C# and I have a problem in VB.NET
how do i declare bytes in VB.Net
the code in C# is as follows
string fileName;
int fileSize;
string contentType;
byte[] fileData; <--- how do I define this?
fileName = rd.GetString(0);
fileSize = rd.GetInt32(1);
contentType = rd.GetString(2);
fileData = new Byte[fileSize]; <---- and this
rd.GetBytes(3, 0, fileData, 0, fileSize);
I am stuck at simple declarations...
thanks,
Stephen