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

How to save any file to sql2000?

5 Answers 107 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
jack
Top achievements
Rank 1
jack asked on 14 Oct 2008, 02:27 AM
In the Grid, Can the RadUpload save any file(not only image) to a database?
thank you in advance! 

5 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 14 Oct 2008, 06:46 AM
Hi jack,

Yes, you can save any type of file to the SQL database, not only images. You can then display these files as "download" links in the grid.

Best,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jack
Top achievements
Rank 1
answered on 14 Oct 2008, 07:33 AM
Thanks for you answer!
But RadUpload only save files to the sever folder, not the database.
0
Erjan Gavalji
Telerik team
answered on 14 Oct 2008, 07:59 AM
Hi jack,

RadUpload does not automatically save files to the database. You should save them in a button-click event instead.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jack
Top achievements
Rank 1
answered on 15 Oct 2008, 01:14 AM
0
Accepted
Blaize
Top achievements
Rank 1
answered on 15 Oct 2008, 06:58 AM
Hey Jack,
the example you are referring saves the files to the local disk, but not the database! It only stores the file paths in the database :)

If that could help acoiding a confusion - you're referring the classic aspnet upload and this forum discusses the aspnet Ajax controls...

Check this for saving file to database instructions:
http://www.kodyaz.com/articles/file-upload-and-save-to-sql-server.aspx

Cheers,
Blaize


Tags
Upload (Obsolete)
Asked by
jack
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
jack
Top achievements
Rank 1
Blaize
Top achievements
Rank 1
Share this question
or