private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0) { DataGridViewRow row = this.dataGridView1.Rows[e.RowIndex]; TxtName.Text = row.Cells["Name"].Value.ToString(); TxtPath.Text = row.Cells["Path"].Value.ToString(); } }
CellContentClick
CellClick
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)