Tim
asked on
Modifying asp:Table Columns dynamically
Hi,
I need to create an asp.net page with c# code behind that will modify 4 columns of a table dynamically every about 10 minutes or so. The table itself will have about 1100 rows in it and about 27 columns of data
The static data on the table will be pulled from a database and the dynamic data will be created and sent from the c# code behind file.
I am thinking that I can use asp:UpdatePanel and a timer to update the table but logistically I need to figure out how to implement the table so the code behind file knows to update only the columns needed.
Any ideas?
Thanks
I need to create an asp.net page with c# code behind that will modify 4 columns of a table dynamically every about 10 minutes or so. The table itself will have about 1100 rows in it and about 27 columns of data
The static data on the table will be pulled from a database and the dynamic data will be created and sent from the c# code behind file.
I am thinking that I can use asp:UpdatePanel and a timer to update the table but logistically I need to figure out how to implement the table so the code behind file knows to update only the columns needed.
Any ideas?
Thanks
Is there a reason that you aren't using the GridView to generate the table?
ASKER
Hi Bob,
I am using oledbadapter and DataTable ( TableRows and TableCells ) to grab the data from the DB and fill in the table programmatically
The table itself is defined in the aspx file and I fill in the TableRows and TableCells programmatically.
The DB is an Access DB not SQL fyi, not sure if that makes a difference.
I didnt use GridView because I had previous used oledb to show the DB on the page so thats what I went with.
Would GridView allow me to meet my goal easier?
Thanks
I am using oledbadapter and DataTable ( TableRows and TableCells ) to grab the data from the DB and fill in the table programmatically
The table itself is defined in the aspx file and I fill in the TableRows and TableCells programmatically.
The DB is an Access DB not SQL fyi, not sure if that makes a difference.
I didnt use GridView because I had previous used oledb to show the DB on the page so thats what I went with.
Would GridView allow me to meet my goal easier?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.