Hello,
I am trying to add a button to the list page so that when it is clicked a sql statement is executed. The problem is that the code executes when the page loads instead of waiting until I click the button. Here is my asp snippet:
Response.Write "<INPUT class=button type=button value="" Ignore User "">"
dim rs
set rs = server.createobject("ADODB.Recordset")
rs.open "Update nt1restore SET ignore = '1', ignorereason = 'manual edit' where username = 'schwend'", dbConnection
Any help would be appreciated.
Thank you,
Kevin