Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible for me to save the content in a datagridview to a new text file using a savefiledialog?.I have been searching on the web for quite a few days and still unable to get answer.
Posted

1 solution

Hi,

You can do it while loading the data in datagrid itseld, refer this link[^].

Hope this helps you a bit.

Regards,
RK
 
Share this answer
 
Comments
agent_kruger 11-Nov-13 5:48am    
or appending text to it by looping through the datagridview and sending the string to the text file
♥…ЯҠ…♥ 11-Nov-13 5:52am    
hmm that is also nice idea

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