Hello guys,
Please anyone give me a clue or guideline how to save the uploaded file by radupload to database and get it from database as well . If there is an example . It would be great.
For now I did this code for the saving part.
for (int iLoop = 0; iLoop < RadUploadContext.Current.UploadedFiles.Count; iLoop++)
{
byte[] bytes = new byte[RadUploadContext.Current.UploadedFiles[iLoop].InputStream.Length];
Then I put the bytes as the param in binary field. Just need a little example or any suggestion also any better idea about my code..
Many thanks .
PS. Sorry if my english is not good.
Please anyone give me a clue or guideline how to save the uploaded file by radupload to database and get it from database as well . If there is an example . It would be great.
For now I did this code for the saving part.
for (int iLoop = 0; iLoop < RadUploadContext.Current.UploadedFiles.Count; iLoop++)
{
byte[] bytes = new byte[RadUploadContext.Current.UploadedFiles[iLoop].InputStream.Length];
Then I put the bytes as the param in binary field. Just need a little example or any suggestion also any better idea about my code..
Many thanks .
PS. Sorry if my english is not good.