How to save any file to sql2000?

Thread is closed for posting
6 posts, 1 answers
  1. jack
    jack avatar
    3 posts
    Member since:
    Oct 2008

    Posted 13 Oct 2008 Link to this post

    In the Grid, Can the RadUpload save any file(not only image) to a database?
    thank you in advance! 
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 14 Oct 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jack
    jack avatar
    3 posts
    Member since:
    Oct 2008

    Posted 14 Oct 2008 Link to this post

    Thanks for you answer!
    But RadUpload only save files to the sever folder, not the database.
  5. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 14 Oct 2008 Link to this post

    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.
  6. jack
    jack avatar
    3 posts
    Member since:
    Oct 2008
  7. Answer
    Blaize
    Blaize avatar
    88 posts
    Member since:
    Oct 2006

    Posted 15 Oct 2008 Link to this post

    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


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017