Click here to Skip to main content
14,732,921 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have this windows form and in it i have datagridview that displays the records from a table in a database and it works just fine but I cant figure out how to allow the user to download a selected row from the datagridview.
Any help is greatly appreciated.

Each row consists of 5 columns. Column one contains the id number of other table and column two contains an attachment.the columns three to five contains dates irrelevant,Yes you've read correctly and an attachment is being stored in the database as blob,I just want to be able to select an image and download it onto my hard drive. How do i go about doing this?
Posted
Updated 5-May-15 16:35pm
v2

1 solution

Comments
[no name] 6-May-15 1:23am
   
Thank you so much! but it have some errors like: KeyNotFoundException the key was not found in the dictionary.

¿How to fix it?
   
Please debug and see where exactly this exception is coming.
[no name] 7-May-15 20:47pm
   
Don't worry,i fix it that error,thank you.
   
Glad to know that. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900