title: DatagridView data transfer
body: <p>I'm trying to take data from a DGV from one form to Texboxes of another form
  this is what I've done: </p>
  
  <pre><code>int o = dataGridView1.CurrentCell.RowIndex;
  dataGridView1.Rows[o].Cells["AccountName"].Value.ToString()
  obj.txtTranType.Text = dataGridView1.Rows[o].Cells["TransactionType"].Value.ToString();
  obj.txtDateTime.Text = dataGridView1.Rows[o].Cells["TransactionDate"].Value.ToString();
  obj.txtTranAmt.Text = dataGridView1.Rows[o].Cells["TransactionAmount"].Value.ToString();
  obj.txtCurrAmt.Text = dataGridView1.Rows[o].Cells["CurrentAmount"].Value.ToString();
  obj.txtAvailAmt.Text = dataGridView1.Rows[o].Cells["AvailableAmount"].Value.ToString();
  obj.txtClientID.Text = dataGridView1.Rows[o].Cells["ClientID"].Value.ToString();
  </code></pre>
  
  <p>when I return to the form with the textboxes nothing is diplayed in them, I don't know why. </p>