Posts: 199
Location: High Wycombe, Buckinghamshire, London
|
The way i do it is via a datareader.
My SQL statement tries to select the user with the username they want to register, if the datareader reads, the username exists -> error message.
If not, i call another function to add the user.
__________________
[ Insert witty, yet highly intelligent signature here ]
|