B
Bryan
Hi all,
I am developing an application that uses a GridView that has its
columns added dynamically.
The user selects from a Drop Down List of offices, this populates a
list of employees, the user selects one.
Clicking the "Add_Emp" button adds column relating to this employee to
a DataTable myDT, the DataTable is then bound to the GridView. All is
working fine here.
I also store the myDT in the session so that I can repopulate the
gridview on postback with the information for the DataTable
The problem -
When the user makes changes to the CheckBoxes in the Gridview, I
want to update the DataTable before it is used to repopulate the
GridView.
But, the GridView is empty on postback because it is dynamic.
Please give me suggestions on this.
Thanks,
Bryan
I am developing an application that uses a GridView that has its
columns added dynamically.
The user selects from a Drop Down List of offices, this populates a
list of employees, the user selects one.
Clicking the "Add_Emp" button adds column relating to this employee to
a DataTable myDT, the DataTable is then bound to the GridView. All is
working fine here.
I also store the myDT in the session so that I can repopulate the
gridview on postback with the information for the DataTable
The problem -
When the user makes changes to the CheckBoxes in the Gridview, I
want to update the DataTable before it is used to repopulate the
GridView.
But, the GridView is empty on postback because it is dynamic.
Please give me suggestions on this.
Thanks,
Bryan