Hi All,
I'm facing a problem while trying to compile an application which was originally developed in VS 2003 in VS 2005. In my case, the page name and form id are same.
Compiler Error Message: CS0542: 'PageName': member names cannot be the same as their enclosing type.
And moreover an error is thrown in the line given below.
Two objects cannot have a same name . You cannot have the Class name and Form Name as Same . Change the Form id it will compile
Ashok Raja
www.iGold.in
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.