hi,
In ASP, using VBScript, you will not be able to initialize a variable whilst declaring itself
Dim strName 'Declare the Variable
strName = "xyz" 'Initialize the Variable
In your second problem, variable a contains an Integer and variable b contains a String. you cannot use the + operator to concatenate a string and integer. you have to use the & operator.
+ operator accepts only values of same type on both sides of the operator
Hope this info will help ur needs
Regards,
Raghu
|