How to change the namespace name in an asp.net webform
For example in my project i have created 3 folders Master,Transaction,Reports in Master folder there are 10 forms by default th namespace comes ProjectName.Master,but when i manually change the name by adding my formname it doesn’t work eg:-ProjectName.Master.MasterFormName.And moreover when i double click on a button then it doesn’t go in the code behind.
How to change the namespace name in an asp.net webform For example in my
Share
Changing a namespace in c# code alone isn’t sufficient.
You also need to tell your .master file what class it inherits from.
Set the new namespace in you .master file and you will be good to go.
Just my personal opinion: putting your class name in the namespace doesn’t make a lot of sense.