A
angus
Dear All,
my problem is that,
i have a table to display, and, it allows the user to enter a new unit in
the text box
e.g.
*original table (empty)*
unit
--------
*user enter "cm" in the textbox add press enter*
unit
-------
cm
*user enter "mm" in the textbox add press enter*
unit
--------
cm
mm
in this case, i won't store the above data to the database until the user
press a "submit all unit" button
I have declared a globel variable for the DataTable to store the above
records
my problem is that
if the user presses the add button, the page will be refreshed. and the
previous added rows in the globel datatable will display
Is it a good practice to store the datatable into the session, so that i can
get the previous added rows?
if not so, would you please suggest a good way to do this.
Thank you.
Regards,
Angus
my problem is that,
i have a table to display, and, it allows the user to enter a new unit in
the text box
e.g.
*original table (empty)*
unit
--------
*user enter "cm" in the textbox add press enter*
unit
-------
cm
*user enter "mm" in the textbox add press enter*
unit
--------
cm
mm
in this case, i won't store the above data to the database until the user
press a "submit all unit" button
I have declared a globel variable for the DataTable to store the above
records
my problem is that
if the user presses the add button, the page will be refreshed. and the
previous added rows in the globel datatable will display
Is it a good practice to store the datatable into the session, so that i can
get the previous added rows?
if not so, would you please suggest a good way to do this.
Thank you.
Regards,
Angus