private void ExcelDGV_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex != -1) { textBox1.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)