How can i add a row between other rows in a datagridview?
I have a datagridview, and i insert with the help of a second form new data on that datagrid. But the new data always adds to the last row.
I want to add them to a specific place that i want.
please help me!
Loading
Hirendra SisodiyaPosted Nov 30, 2010, 6:10 AM
you can use this code
suppose if you want to add newcolumn as third column
Dim Col As New DataGridViewTextBoxColumn
Col.HeaderText = "NewCol"
DataGridView1.Columns.Insert(2, Col)
please mark as answer if it helps