Ok, I really appreciate the responses guys! I have implemented this, but I'm having a problem with the SQL now. When I call cmd.Parameters.Add("?val", paramVal) where paramVal is an integer, the value is added to the SQL with quotes, and since it is an INT datatype there shouldn't be quotes...