page navigation

Apr 28 2008 10:14 AM

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?) 

 


Answers (1)