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

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

    thank you very much!
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 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.

    Greetings,
    Alex Fidanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
Back to Top