• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic Table

 
Shunmuga Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am developing an application with jsp as frontend and mysql as backend. in this i want to create a dynamic table with weekdays of a week of the current system date. any tutorials, links, ideas please suggest me. i'm new to jsp...
 
Lei XianXiang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, i'm new to english, I think you should learn something about perpetual calendar in javascript, your problem can be solved by not only jsp but also the other technology.
 
Shunmuga Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i choose a date range as 13/09/2011 to 20/09/2011 means a table has to be created with headers as 13,14,15,16,17,18,19,20/09/2011. how to create like a dynamic table like this?
 
Prashant Chindhade
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can create it in servlet.

first you have to create connection where you want to create tables

than pass the table name as you want to create table name

than pass the values of the dates in create table query like this

find some mechanism to create loop that generate these dates in string format

than pass it to following query ...

create table `"+Empid+"` (' "+Date value1+" ' date , ' "+datevalue2+" date ')";

hope this will help you....

regs

Prashant
 
Shunmuga Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you tell much more clearly???/ please
 
Prashant Chindhade
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

this will generate days like mon, tue , wed...

if you like more to read than go for this link webpage

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!