Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
protected void btnSearchEmployees_Click(object sender, EventArgs e) { string n = grdAvailableStuff.Rows[2].RowIndex.ToString(); MessageBox.Show(n); }
grid.Rows[0].Cells[0].Text.ToString();
dataGridView.CurrentRow.Cells["//Column Name here"].Value
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)