NigelRocks
asked on
Web Design Question
Experts,
I've got an order-entry web site that I'm designing and I have a few questions.
Basically, the user gets into the app and finds a GridView of all the products, along with an added textbox in which to enter item quantities. I need those quantities to persist in the grid no matter where the user goes and no matter how he/she sorts the grid with the Product Category DropDownList box.
I do this with a static data table that is the DataSource of the GridView. However, when they sort on a product category, I want to only display those products in the grid. I've made a DaveVIew from the DataTable for this pupose, but I can't seem to switch the DataSource of the GridView to contain this DataView instead of its existing DataSource.
Will the DataTable be updated if changes are conveyed through the GridView? Can you make all the rows of the GridView editable?
I've got an order-entry web site that I'm designing and I have a few questions.
Basically, the user gets into the app and finds a GridView of all the products, along with an added textbox in which to enter item quantities. I need those quantities to persist in the grid no matter where the user goes and no matter how he/she sorts the grid with the Product Category DropDownList box.
I do this with a static data table that is the DataSource of the GridView. However, when they sort on a product category, I want to only display those products in the grid. I've made a DaveVIew from the DataTable for this pupose, but I can't seem to switch the DataSource of the GridView to contain this DataView instead of its existing DataSource.
Will the DataTable be updated if changes are conveyed through the GridView? Can you make all the rows of the GridView editable?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.