Archive for the 'DataGridView' Category

Export DataGridView into .csv file

Following example I am trying to save the DataGridView’s Data into .csv file
Please create a Windows Application and Add a DataGridView and a button on Form1, to fill the data initially please add following code in Form1_Load

Double click on the Button and add following code in Button1_Click, in this code we are reading [...]