943,604 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 5653
  • C# RSS
Oct 13th, 2008
0

Upload/download file from to SQL Database

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
IT_Techno is offline Offline
41 posts
since Dec 2007
Oct 13th, 2008
0

Re: Upload/download file from to SQL Database

You could store them in blob fields, (for which there are many existing examples)
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 14th, 2008
0

Re: Upload/download file from to SQL Database

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
Reputation Points: 10
Solved Threads: 0
Light Poster
IT_Techno is offline Offline
41 posts
since Dec 2007
Oct 14th, 2008
0

Re: Upload/download file from to SQL Database

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
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Setting column type in excel
Next Thread in C# Forum Timeline: new to programming and c#





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC