Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there
i have 12 tables with name Table1,table2......table12
tables has columns like (Date,number)
my tables are displaying results date wise.
now i want that only 3 table should be displayed at a time,
and so soon as i start entering data into 4th table the 1st table is hidden.
explanation: i have a database where i have 12 table with date and number to display,
dates will start from 1,2,3.....31
and number will be displayed with each date.
i want that suppose for march result, Grid view will display Jan,Feb,March results.
As soon as April data display starts jan data should be hidden from grid view.
so my question is how can i achieve this,
my columns had the data type (Date int,number varchar(20))
Note: All this tables will be displayed in one grid-view.
txs in advance
Posted
Comments
Maciej Los 6-Jan-15 9:59am    
I really do not understand this: now i want that only 3 table should be displayed at a time,
and so soon as i start entering data into 4th table the 1st table is hidden.

1 solution

As per i understand your requirements, you have to create only one table which holds a date, then you'll be ablt to filter data based on that date.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900