private void btndelete_Click(object sender, EventArgs e) { if (this.dataGridView1.SelectedRows.Count > 0) { dataGridView1.Rows.RemoveAt(this.dataGridView1.SelectedRows[0].Index); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)