Hello, I am Peggie. I would like to ask when browsing the file and upload to the database, which datatype shld be use? One thing to take note is that, I would like to upload files instead of images. Thanks.
Loading
Hello, I am Peggie. I would like to ask when browsing the file and upload to the database, which datatype shld be use? One thing to take note is that, I would like to upload files instead of images. Thanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ArshadPosted Dec 30, 2008, 3:23 PM
VB.NET
Public Function Encryption(ByVal strValue As String) As Byte()
Dim arrBytPass As Byte() = Nothing
Dim intCount As Integer
For intCount = 1 To Len(strValue )
// Do your Encryption here, As per your requirement
Next
Encryption=arrBytPass
End Function
C#
public byte[] Encryption(string strValue)
{
byte[] arrBytPass = null;
int intCount = 0;
for (intCount = 1; intCount <= Strings.Len(strValue); intCount++)
{
//Do your Encryption here, As per your requirement
}
return arrBytPass;
}
Peggie LohPosted Dec 25, 2008, 12:12 AM
Scott LyslePosted Dec 24, 2008, 10:13 PM