This is a migrated thread and some comments may be shown as answers.

how to read upload file form database

1 Answer 62 Views
Upload
This is a migrated thread and some comments may be shown as answers.
rock
Top achievements
Rank 1
rock asked on 07 Dec 2010, 09:17 AM
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!

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 08 Dec 2010, 09:35 AM
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
Tags
Upload
Asked by
rock
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or