Change the declaration to:
And modify your method signature to:Code:<a class="button" href="#" onclick="check" runat="server">
Out of interest, the code is subject to SQL injection attacks . May want to look at session hijacking as wellCode:Public Sub check(sender As Object, e As EventArgs)![]()




Reply With Quote