I have a problem in window application. When I insert a record and display the records in a gridview, the gridview automatically makes one empty row. And I also use
dataGridView1.AllowUserToAddRows = false;
Please help me with an alternative solution to get rid of the empty row.