How to do the RadUpload saves the Files to DB(SQL Server)?

9 posts, 0 answers
  1. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    How to do the RadUpload saves the Files to DB(SQL Server)?

    The telerik Radcontrols for silverlight  explain not clear.It only describes upload files to  folder of .web server.
    if one person has done,help me please.
    QQ:284675703   remark: RadUpload
  2. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    otherwise. How to do that the RadUpload can upload mutil- files to DataBase at the same time. And conside the speed of upload,how to do chunk to files(this is my reference to internet).
    If you can send a interrelated example to me ,it's the best.
  3. DevCraft banner
  4. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    contracts:lindayyh811@163.com .
    thank you very much once more.
  5. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 01 Dec 2010 Link to this post

    Hi yang,

    You can see an example of how to upload files directly into the database in this forum thread. Please let us know if you have questions on the sample.

    Greetings,
    Alex Fidanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  6. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 03 Dec 2010 Link to this post

    thanks Telerik. I will think deeply myself.
    If I will haven't solved the problem,I will ask for your help.
  7. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 03 Dec 2010 Link to this post

    Hi Telerik.
    Thanks for your advice.And Thanks for your reference that you provides to others person.
    Through this example,I have knew that it is how to upload files to Database with SaveChunkData method.It is that Dividing file to chunk  posts  to Database. But here is a problem.If  the file which is uploading is too large(default:100000bit), there are lots of records being associated with this file in Database after having uploaded. So I think asking some questiones:
     Fir: The file that be saved to Database would saved a record? if have,the way is what?
    Sec: The above.These files's records that be saved to Database is saved with byte in order?
    Third: If I do download function,How do I? The primary reson is there are lots of records in Database.
  8. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 05 Dec 2010 Link to this post

    Hi Telerik.
    I try my best do the example that you give me (attach:UploadSaveIntoDataBaseExamle).But I have't solved yet.
    The Erro are af:

    始终显示缺少的源文件的反汇编.

    调用堆栈位置:
    Telerik.Windows.RadUploadHandler.DLL!Telerik.Windows.RadUploadHandler.ProcessStream();


    为“c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs”查找源。Checksum: MD5 {15 24 bc d5 da 81 d8 b2 36 be 37 7e 70 5b c0 d0}
    文件“c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs”不存在。
    正在脚本文档中查找“c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs”...
    正在项目中查找“c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs”。
    在项目中未找到该文件。
    正在目录“C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\”中查看...
    正在目录“C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\”中查看...
    正在目录“C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\”中查看...
    正在目录“C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\”中查看...
    活动解决方案的调试源文件设置指明调试器不会要求用户查找文件: c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs。
    调试器未能找到源文件“c:\Builds\WPF_Scrum\Release_SL_2010_Q2_SP2\Sources\Development\Controls\Input\RadUploadHandler\UploadHandler.cs”。
  9. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 08 Dec 2010 Link to this post

    Hello yang,

    The example does not override the ProcessStream method, which seems to be causing an exception in your case. Is it possible to provide us with the project that you are working with so that we can test this on our end and look in to it? Thank you.

    Best wishes,
    Alex Fidanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  10. yang
    yang avatar
    47 posts
    Member since:
    Oct 2010

    Posted 09 Dec 2010 Link to this post

    Hi Telerik.
    I have Solved the Upload and DownLoad.
    About above this issue.I can't solved.But I transplent my code to the solution that you provide me(UploadSaveIntoDataBaseExample).Even though this is a troublesome problem.
    Thank you for the example of providing me once again.
Back to Top
DevCraft banner