I am getting the following error when i try to insert a button onto my webpage to allow users to submit there personal details which are then sent to a DB...
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'ASP.regpage_aspx' does not contain a definition for 'Button1_Click' and no extension method 'Button1_Click' accepting a first argument of type 'ASP.regpage_aspx' could be found (are you missing a using directive or an assembly reference?)
Line 385:<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Line 386: Text="Submit Now!" Width="200px" Font-Bold="True"
Line 387: Font-Names="Comic Sans MS" />
Does anyone know how i can fix this problem??
Its seems to be happening on everypage that i want to put a button on.