PC Review


Reply
Thread Tools Rate Thread

Calling super class

 
 
=?Utf-8?B?V2lsc29u?=
Guest
Posts: n/a
 
      18th Jun 2006
Hi,

How can I call the super class in c# ?

e.g.
protected void Page_Load(object sender, EventArgs e)
{
call the super class ???
}


Thanks
Wilson
 
Reply With Quote
 
 
 
 
Carl Daniel [VC++ MVP]
Guest
Posts: n/a
 
      18th Jun 2006
Wilson wrote:
> Hi,
>
> How can I call the super class in c# ?
>
> e.g.
> protected void Page_Load(object sender, EventArgs e)
> {
> call the super class ???


base.Page_Load(sender,e);

> }


-cd


 
Reply With Quote
 
=?Utf-8?B?V2lsc29u?=
Guest
Posts: n/a
 
      18th Jun 2006
Thanks a lot.

"Carl Daniel [VC++ MVP]" wrote:

> Wilson wrote:
> > Hi,
> >
> > How can I call the super class in c# ?
> >
> > e.g.
> > protected void Page_Load(object sender, EventArgs e)
> > {
> > call the super class ???

>
> base.Page_Load(sender,e);
>
> > }

>
> -cd
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calling the super class Marc Microsoft C# .NET 3 27th Aug 2008 11:18 PM
ASP.Net PAge SRC Directive - Class calling another class tom@iostudios.co.uk Microsoft ASP .NET 3 12th Jun 2007 08:46 PM
Base class calling derived class methods Mike C# Microsoft VC .NET 8 14th Sep 2006 08:51 PM
InitializeComponent is generating the wrong code for my custom class. Calling it's base class constructor jrhoads23@hotmail.com Microsoft Dot NET Framework Forms 0 1st Feb 2005 07:10 PM
sub class construtor, super class not holding value Martin Microsoft C# .NET 1 12th Aug 2004 07:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.