I need help regarding this error when trying navigate from page to page . I have a next and back button with the following code and error. Will anyone help me with my error? I'm using Visual Studio 2005 professional edition.
private
void backButton_Click(object sender, EventArgs e){
FrmReg1 frm =
new FrmReg1();frm.Show();
frm.Hide();
frm.Close();
private
void btnNext_Click(object sender, EventArgs e){
FrmReg2 frm =
new FrmReg2();frm.Show();
frm.Hide();
frm.Close();
Error : The type or namespace name 'FrmReg2' could not be found (are you missing a using directive or an assembly reference?)
reginald knightPosted Apr 29, 2008, 3:59 PM
If anyone else have the page navigation probem the solution is :
1) Add a new form to project(form1)
2) then add the below code.
Form2 frm = new Form2();
frm.Show();
Yours truly,
ReginaldKnight