I want to get a DataTable from DataGridView of the Grid values.
In other words DataTable same as DataGridView Values
You can cast the DataSource object from the DataGridView to a DataTable
DataTable dt = new DataTable(); dt = (DataTable)dataGridView1.DataSource;