Monday, August 16, 2010

Load data into datagridview?

How would I load data into my datagridview in c# and then release the datasource, but keep the data in the gridview, so it can be edited?





I am using some code that imports a csv file to my datagridview and I need to release the datasource so I can edit the contents fo the grid and export as a different file. Any help would be nice. Or if anyone knows where I can get some code to view, create and edit CSV files in C#.Load data into datagridview?
well i think its not possible to directly read from a CSV file......u could apply some logic to interpret the data like parsing the text to obtain the fields....

No comments:

Post a Comment