Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot derive classes from CommandEventArgs

Status
Not open for further replies.

sumpun

MIS
Feb 20, 2002
21
HK
I have written something similar to this :

namespace mynamespace
{
public class MyOwnEventArgs : System.Web.UI.WebControls.CommandEventArgs=20
{
public int x ;
public MyOwnEventArgs()
{
x = 3;
}
}
}

However I keep on getting a compile error !!

Error CS1501: No overload for method 'CommandEventArgs' takes '0' arguments


Can someone help !!!???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top