Monday, 1 August 2016

How to Extract the DataGridView data into CSV

- 0 komentar
Here is the sample code to extract data from DataGridView to CSV file.

1. make a simple VB project.
2. add a DataGridView control and a Command button to the Form.

3. write this code to Extract button event click :

4. write some data to the DataGridView, here is the sample:

5. Here is the output CSV file :

[Continue reading...]
Copyright © . HadiSCADA - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger