5 August 2016

Delete selected Multiple Rows in Datagridview in C#

foreach(DataGridViewRow dR in DGV.SelectedRows)
            {
                DGV.Rows.Remove(dR);
            }


That's All; Simple....!
Thank you!

No comments:

Post a Comment