Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How do you store the textbox values in a datagridview without a database connection?
Posted
Updated 28-Jun-11 8:43am
v2
Comments
TheyCallMeMrJames 28-Jun-11 14:43pm    
removed txt spk.

1 solution

The datagridview is a display container and does not store values (except in memory).

If you want to store/persist the data, you're going to need to either save to a database (which you're saying you don't want to do) or perhaps save it in a text file.

There is a CodeProject article on using CSV: C# class library for exporting data to CSV/Excel file[^]

Hope this helps to get you started.

Cheers.
 
Share this answer
 

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