Well using server side code you would create a command object, execute it and check the return value parameter. You should comment out the print statement or set nocount on to avoid generating extra recordsets.
From client side code you would need to use something like msxml2.xmlhttp class to call a web page with the above server code in it. This would return an xml formatted response of true or false.
--
Joe
|