how to read upload file form database

2 posts, 0 answers
  1. rock
    rock avatar
    6 posts
    Member since:
    May 2007

    Posted 07 Dec 2010 Link to this post

    i have upload a file to database,but this file have been split into five chunk store in can i read this file form database?

    thank you very much!
  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 08 Dec 2010 Link to this post

    Hello rock,

    Generally, when you save a file into a data base in chunks, you would want to label each saved file chunk with the name of the file and probably some index. The reverse process would be to get all the chunks in the database associated with a specific file name and create a byte array based on these chunks. Then you can create a file (save it on the file system or in a stream) with these bytes.

    Alex Fidanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top