private void dataGridViewFranceCube_CellContentClick(object sender, DataGridViewCellEventArgs e) { DataGridViewRow rowNumber = dataGridViewFranceCube.SelectedRows[0]; txtitem.Text = rowNumber.Cells[0].Value.ToString(); txtProductDescription.Text = rowNumber.Cells[2].Value.ToString(); }
Select allOpen in new window
{
MessageBox.Show("Test");
DataGridViewImageCell cell = (DataGridViewImageCell)
dataGridViewFranceCube.Row
}
and also i have add following code to Designer.cs also but still not working
this.dataGridViewFranceCub