private void tsbDisplay_Click(object sender, EventArgs e)
{
NewContract renew = new NewContract();
renew.txtEnumber.Text = this.dgvEmpList.CurrentRow.Cells["Enumber"].Value.ToString();
renew.txtEname.Text = this.dgvEmpList.CurrentRow.Cells["Ename"].Value.ToString();
this.Close();
}
see image

Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 14, 2016, 9:53 AM EST
JomarMark Tamargo27 reputationPosted Jan 14, 2016, 11:00 PM EST