upload download any file type to sql DB using c# windows form

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: upload download any file type to sql DB using c# windows form

 
0
  #11
Jan 9th, 2009
It should be working for any filetype - if its not working, then you need to debug what exactly cant be accessed or readonly.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 3
Reputation: eURe is an unknown quantity at this point 
Solved Threads: 0
eURe eURe is offline Offline
Newbie Poster
 
0
  #12
28 Days Ago
Hi ..

The SqlFileHolder work nice for me, but .. I would like to have a "Extract" button which then open a Save As dialog to save the file into local pc, is that possible?

  1. private void saveFile(object sender, System.EventArgs e)
  2. {
  3. // open SaveFileDialog so the user can save the file
  4. SaveFileDialog saveFileDialog1 = new SaveFileDialog();
  5. saveFileDialog1.Title = "Save File..";
  6. saveFileDialog1.ShowDialog();
  7. ...
  8. }

How could i proceed to get the file from the database and save into my local pc?

Thank you.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the C# Forum


Views: 11801 | Replies: 11
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC