I have two objects CustomerManager which is used
to edit, add customers. I have CustomerManager
class in two different namespaces one is in
MyNameSpace.Type1.CustomerManager and another in
MyNameSpace.Type2.CustomerManager.
In Type1.aspx page code, page_load, I have below
code:
MyNameSpace.Type1.CustomerManager cm = new
MyNameSpace.Type1.CustomerManager();
cm.GetCustomers();
cm = cm.Save();
In Type2.aspx page code, page_load, I have below
code:
MyNameSpace.Type2.CustomerManager cm
= new MyNameSpace.Type1.CustomerManager();
cm.GetCustomers();
cm = cm.Save();
Both aspx pages having the gridview with data source
set like the below:
cm.GetMethod();
Both the aspx pages are doing the same functionality
the difference is the data source in each page is point to
CustomerManager in two different namespaces.< ...
Go to the complete details ...