|
Question : How di I programmatically delete an existing row in a datagridview
|
|
Greetings,
I am using VB.Net 2005 and having difficulty figuring out how to programmatically delete an existing row in a data bound datagridview.
Any pointers would be greatly appreciated.
Bob
|
|
Answer : How di I programmatically delete an existing row in a datagridview
|
|
Me.datagridview.Rows.RemoveAt(Me.datagridview.SelectedRows(0).Index)
will delete the selected row
|
|
|