Hi Rick,
As vijay said in ASP you cannot specify datatype in the variable declartion. By default all variables are of variant type.
In the coding you can use conversion functions to change the datatype.
For Ex: dim productname,price
productname=request("txtProdName")
price=csng(request("txtPrice"))
for date/time values, use CDATE() function.
|