I have a datagridview2 on my form that has 4 columns and has data. I want to add a row at the end of it and fill it with data. But when i use ‘Me.DataGridView2.Rows.Add()’ it adds row but not the end of the datagridview. is there a way to add a blank row at the end of datagridview?
Share
I tried and it adds the row at the end of the DataGridView.
I dragged a DataGridView and a button in the form.
Here is the code:
If you populate the datagridview via databind you cannot add a row programmatically.