J
Jeff
ASP.NET 2.0
Below you see the signature of a method in my webproject. "int user" get its
value from the "user" parameter in the querystring. The problem is that I'm
wondering how I can make a check in the code to catch if someone are trying
to send in a string value in the "user" parameter.... I assume a try/catch
block is ideal... But are wondering what Exception class to use??
public static Boolean Authenticate(int user) {
}
Any suggestions?
Jeff
Below you see the signature of a method in my webproject. "int user" get its
value from the "user" parameter in the querystring. The problem is that I'm
wondering how I can make a check in the code to catch if someone are trying
to send in a string value in the "user" parameter.... I assume a try/catch
block is ideal... But are wondering what Exception class to use??
public static Boolean Authenticate(int user) {
}
Any suggestions?
Jeff