Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Insert into SQL Server undefined amount of records

$
0
0

Hi I'm not sure on this question as i have never come across this before but i will try and explain what i need to do;

I have a DB which needs to have the following inserted into it for example

Field 1 = ID (example 1)

Field 2 = ITEM (example TE21)

Field 3 = DESC (example Dell Desktop)

Field 1 = ID (example 2)

Field 2 = ITEM (example TE21)

Field 3 = DESC (example Dell Desktop)

Field 1 = ID (example 3)

Field 2 = ITEM (example TE21)

Field 3 = DESC (example Dell Desktop)

the user can enter as many of these lines as required and they all get added to the DB as a new record, how can i get the code to cycle through and add the records.

Any ideas please.


Viewing all articles
Browse latest Browse all 488

Trending Articles