How to inherit a base form in all application forms of an asp.net application

V

varun varun

hello friend,

while developing an asp.net application,
i created a base form(say mybaseform1)
with certain links on it.

then i tried to inherit the same from
in other application forms by following way.

in the coddbehind file for a form webform1,
i wrote following code.

public class webform1
inherits mybaseform1


end class.




but i found that this does not work in asp.net.

however, the same works very well in vb.net.

so can anyone guide me on this issue ?

how can we inherit base form in various
application forms ?

plese guide me with pieces of code if possible.

i need help urgently.
thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top