B
birdmant
I am running a query to return product codes and would like to creata
checkbox for each row returned. I would like to give the checkbox
name using this code so that I can identify it. I'm moving the produc
code to an array but am not successful in setting the name to the cod
value. I've tried arrays and variables to no avail.
Is there a way to do this? This is the piece of code I'm using.
while (!rs.EOF)
{
a[x] = rs.Fields("PROD_CD");
Response.Write("<input type='checkbox' name=a[x] checke
onclick='clickbox(this)'>");
Response.Write("<br>");
rs.MoveNext();
x++;
}
Any help would be greatly appreciated.
To
-
birdman
checkbox for each row returned. I would like to give the checkbox
name using this code so that I can identify it. I'm moving the produc
code to an array but am not successful in setting the name to the cod
value. I've tried arrays and variables to no avail.
Is there a way to do this? This is the piece of code I'm using.
while (!rs.EOF)
{
a[x] = rs.Fields("PROD_CD");
Response.Write("<input type='checkbox' name=a[x] checke
onclick='clickbox(this)'>");
Response.Write("<br>");
rs.MoveNext();
x++;
}
Any help would be greatly appreciated.
To
-
birdman