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
JomarMark TamargoPosted Jan 15, 2016, 4:00 AM
Rajeesh MenothPosted Jan 14, 2016, 2:53 PM