Hello all, I've been having an issue with running an SQL select statement with a button. At the moment, my page has two buttons and allows both to run the gridview where my SQL data displays. In my asp page I have:
<asp:Button ID="btnGo1" Text="Search" runat="server" onClick="btnGo1_Click" />
In the C# code, I have methods for OnLoad and btnGo1_Click, but I'm pretty new to programming and don't know how to link the methods to the button I created.
Any help would be greatly appreciated =)
...
Go to the complete details ...