Multiple inheritance is not allowed, and thats a good thing. Put your business logic in a separate class(es) that you access from your pages. Look at the utilitybelt examples at http://www.learnasp.com
----- Original Message ----- From: "Justin Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 10, 2004 9:14 PM Subject: [AspNetAnyQuestionIsOk] How can a page inherit multi-classes and multiple files? > Hi: > > I'm wondering how (if it is possble) a page can inherit more than 1 class from the codebehind file, or perhaps even inherits codes from 2 or more separate files? > > For example, Page1.aspx.vb contains codes that are specific to Page1. There are also a bunch of database related codes in a file called dbCodes.vb. I'm wondering how Page1 can access both sets of codes. > > Thanks for your help! > > Justin > > Yahoo! Groups Sponsor > ADVERTISEMENT > > > > > > -------------------------------------------------------------------------- ------ > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > b.. To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
