title: How to select a cell content from a DataGridView ? (C#)
body: <p>I want to add a image from a ComboBox, but ComboBox has got only the image name.
  In a DataGridView there are two cells.  Cell01 for the image name, Cell02 for the image file path.
  When I selected a name form the ComboBox i want create a variable for add its correct file path form the DataGridView. What is the code for identify the correct file path for selected image name..?</p>
  
  <p>"This below code will work only when adding images from same Location..  "  </p>
  
  <pre><code>string imagename = cmbDataGridLink.SelectedItem.ToString();
  int selectedRow = dataGridView1.CurrentCell.RowIndex;
  string filepath = dataGridView1.Rows[selectedRow].Cells[2].Value.ToString();
  string path = filepath + imagename;
  picbComboBox.Image = Image.FromFile(path);
  </code></pre>