How do I have to do to save / get file from database by RadUpload?

Thread is closed for posting
3 posts, 1 answers
  1. Marut
    Marut avatar
    15 posts
    Member since:
    Dec 2007

    Posted 07 Jan 2009 Link to this post

    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.


  2. Answer
    Paul
    Admin
    Paul avatar
    4281 posts

    Posted 07 Jan 2009 Link to this post

    Hi Marut,

    Please refer to this help article for details on the matter.

    Regards,
    Paul
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Marut
    Marut avatar
    15 posts
    Member since:
    Dec 2007

    Posted 07 Jan 2009 Link to this post

    Thank you very much Paul.
Back to Top