This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes adding rows to the table dynamically according to the data returned from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "adding rows to the table dynamically according to the data returned from database" Watch "adding rows to the table dynamically according to the data returned from database" New topic
Author

adding rows to the table dynamically according to the data returned from database

shivang sarawagi
Ranch Hand

Joined: Jun 19, 2008
Posts: 147
Hi, I am confused about a thing. I want to query the database for some values but I am not sure how many rows of data the query will return.
It may be 50 or 10. Now how do I display the data dynamically in the table so the same number of rows are created as per returned from database.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61063
    
  66

Using what? jQuery? JSP? PHP? ColdFusion? Fred's Fabulous Framework?

Where's your code? Where are the details?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: adding rows to the table dynamically according to the data returned from database