Upload file store in database as binary

2 posts, 0 answers
  1. Colin Wright
    Colin Wright avatar
    26 posts
    Member since:
    Mar 2008

    Posted 31 Mar 2014 Link to this post


    I wanted to know if it was possible to save the posted file in a database table as binary. I am using asp.net and an web service (asmx). My database table is

    ID (int),
    Filename varchar,
    Filedata (varbinary).,
    title (varchar),
    Description (varchar)

    A user uploads a document and gives it a title and description. I know I can use a separate web form page as the saveurl and get the posted file, but I am struggling with returning the ID to store the title and description. 

    Any help greatly appreciated.
  2. Daniel
    Daniel avatar
    2231 posts

    Posted 02 Apr 2014 Link to this post


    You can pass the id and the other values if needed with the upload request by using the upload event as demonstrated in this documentation topic.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top