I am trying to change the contents of a table based on the results of a
recordset dynamically.
I have a table created already with the results of a recordset.
When the user chooses a sort order the recordset will have the sorted
results. I need to update the table with the new results how do I do this
in ASP 3.0? Is there a datagrid that I can associate with the recordset.
If so how?
If I try to write a table by using response.write it is creating a new
table instead of rewriting the contents of the old one.
When the user decides how they want to resort the recordset, you reload the
page, and write the HTML table out again. When you create the recordset, you
use the ORDER BY clause to get the recordset into the correct order.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Anupama Nallari" <anallari@p...>
Subject: [asp_web_howto] Change data in a table
: I am trying to change the contents of a table based on the results of a
: recordset dynamically.
: I have a table created already with the results of a recordset.
: When the user chooses a sort order the recordset will have the sorted
: results. I need to update the table with the new results how do I do this
: in ASP 3.0? Is there a datagrid that I can associate with the recordset.
: If so how?
: If I try to write a table by using response.write it is creating a new
: table instead of rewriting the contents of the old one.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~