Constructor call is valid only as the first statem

vuahaitacD

New Member
Anyone know what this error typically means? "Constructor call is valid only as the first statement in an instance constructor"<BR><BR>It's saying it's on line one and all I have on line one is:<BR><%@ Page Language="VB" %>No, that means that in one of your classes' constructors, you have a mybase.new() or something similar that is not the first statement in the constructor function. Can I see the code in which this is happening?I had one on my <asp:button> tags with the id of "new"... which was causing the compiler to create a my.new which I guess is a keyword?
 
Back
Top