A
Annyeongja
Guest
Hi, this is the original code that Im using
this.studentBindingSource.AddNew();
but I want it to execute when I click the linklabel im using from another form so I tried using this and I get the error
frmRegister freg = new frmRegister();
private void lblSignup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
freg.studentBindingSource.AddNew();
freg.ShowDialog();
this.Hide();
}
TIA
Continue reading...
this.studentBindingSource.AddNew();
but I want it to execute when I click the linklabel im using from another form so I tried using this and I get the error
frmRegister freg = new frmRegister();
private void lblSignup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
freg.studentBindingSource.AddNew();
freg.ShowDialog();
this.Hide();
}
TIA
Continue reading...