Hi,,, I’m trying to build a master-detail gridview that contain these features:
Create at runtime.
Adding , deleting and updating multi Records . (that means in the adding operation I can add multi rows to both of master and detail and then click SaveAdd button on my webpage only one time to save all records , In the updating and deleting operation I can update or delete multi rows to both of master and detail and then click SaveUpdate Delete button on my webpage only one time to save all records in gridview)
Paging,Sorting,Filtering,Resizing columns,Grouping
(Hide/show)(Enable/Disable) colume
- Import/Export data
And I ‘m using ASPxGridView from Devexpress because I don’t want to build my grid from scratch,So I’m trying to start adding all the features which I need . When I complete programming my second feature in the grid (Adding , deleting and updating multi Records ) the grid is running so slowly, just when I was traying to add or update records on it .
I don’t know the real reason for this, my main idea in the code is using datatable , that means when I did any operation I transferred the data from my grid to the datatabel and did all my changes and then transferred back the data from datatable to the gridview
eventually ,,,Is this the correct way ??? if not, what’s the better way to Adding , deleting and updating multi Records in a master-detail gridview which Create at runtime
I would appreciate any help in this