Upload/download file from to SQL Database

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2007
Posts: 41
Reputation: IT_Techno is an unknown quantity at this point 
Solved Threads: 0
IT_Techno IT_Techno is offline Offline
Light Poster

Upload/download file from to SQL Database

 
0
  #1
Oct 13th, 2008
hi

i want to aske if there is away to upload / download files to / from sql databse using asp.net
with C# i need to do that using using gridview i have view my data inside asp.net gridview i want to download my uploaded file in db when i Click the file inside gridview and when i edit spacified row in gridview i want to upload file again if i want to change uploaded file else leave the old one as it plz any one help me i need this very much

thank you
Best Regards,
IT_Techno
Reply With Quote Quick reply to this message  
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 file from to SQL Database

 
0
  #2
Oct 13th, 2008
You could store them in blob fields, (for which there are many existing examples)
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: Dec 2007
Posts: 41
Reputation: IT_Techno is an unknown quantity at this point 
Solved Threads: 0
IT_Techno IT_Techno is offline Offline
Light Poster

Re: Upload/download file from to SQL Database

 
0
  #3
Oct 14th, 2008
hi,

Thank you for replay, i know that i should save them in blob variable insid database or using varbinary inside sql 2005 server ,

what i need to know how to do that using gridview in asp.net, mean all operation will done inside gridview add/delete/update/select and so i can to add FileUpload contronl insid gridview, and so i can add download button cotrol insid gridview , can any one help me plz


Best Regards,
IT_Techno
Reply With Quote Quick reply to this message  
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 file from to SQL Database

 
0
  #4
Oct 14th, 2008
Well, as you will have read in the stickies we certainly wont do it for you, and as you seemed to know what I told you (for which you could have saved time and effort for me and anyone else who might have replied otherwise) to say you knew that.. and asked a specific question..

Go look at some examples, come back with some code, and ask a specific question
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  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC