954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Upload/download file from to SQL Database

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

IT_Techno
Light Poster
41 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

You could store them in blob fields, (for which there are many existing examples)

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

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

IT_Techno
Light Poster
41 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

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

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You