Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Jul 9, 1999

Updating Multiple Rows with Forms in HTML

Question:

We are only able to add one row in the database, using forms in HTML. How can we do multirow operations on the HTML before sending it to the server?

Answer:

Present your database records in a grid format of text boxes. The user can fill the data into the text boxes and when the Submit button is pressed, all the data will go back to the server.

On the server side, you will have to write code to access all the rows of data and update your database. You need a unique primary key (say ID) to identify each row.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date