Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to create sub class in asp.net using c# lang.?
i used V S 2010
Posted
Comments
Sebastien T. 22-Nov-10 8:24am    
Can you precise your question, please ?
Brij 22-Nov-10 8:25am    
You question is not clear. what do you mean by 'create sub class in asp.net'.Can you elaborate bit more?
R. Giskard Reventlov 22-Nov-10 8:31am    
Do you mean 'how does inheritence work?' is the closest I can get to your meaning.

 
Share this answer
 
The same way you do it in WinForms:

C#
public class MyClassA
{
}

public class MyClassB : MyClassA
{
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900