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#.
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
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....