LOL ...
My code works 100%, and it instets 1 row from dataTable to the last row of datagridview!!!
How you changed it? Do you know whta to change?
What is this code:
int rowIndex = dataGridView1.Rows.Add();
This code throws an error!!
Please paste my code into your code, all you have to do to use your own variable names.