Forum Moderators: open

Message Too Old, No Replies

auto increment number in asp

auto increment number in asp

         

nisha albert

6:15 am on Feb 4, 2006 (gmt 0)

10+ Year Member



can anybody help me?
i want to write the code for auto increment number in asp. can u post the sample code plzzzz.

and also concatenation of string and number using asp

thanks in advance

carguy84

4:40 am on Feb 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



auto increment a number, if this is what you mean:

Dim intNumber
intNumber = 0

intNumber = intNumber + 1

Concatenate a string:
Dim string1, string2, int1, newString
string1 = "temp"
string2 = "TEMP"
int1 = 4

newString = string1 & string2 & int1

Chip-