![]() |
Click here to advertise with us
|
|
|||||||
| Database General Discussion General discussion on database related topics |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,everyone!
I am a beginner for VB.NET and dhtmlxGrid.In my project(Web Application) here is a page to do as follows: ①Click button『Search』 to get datum from table(A) and to show the gotten datum in the dhtmlxGrid. ②Click button『Add』 to add a row into the dhtmlxGrid and edit the added row. ③Click button『Del』 to delete the selected row to the in the dhtmlxGrid ④Click button『Update』 to edit the selected row in the dhtmlxGrid ⑤Click button『Save』 to save the modified dhtmlxGrid datum to the table(A) In order to get high efficiency,I use Ajax to do as follows: -->②Click button『Add』 to add a row into the dhtmlxGrid and edit the added row.After editing, I save the added row ith the flg(1:added) to sesson. -->③Click button『Del』 to delete the selected row in the dhtmlxGrid. After deleting, I save the deleted row with the flg(2:deleted) to sesson. -->④Click button『Update』 to update the selected row in the dhtmlxGrid. After updating, I save the edited row with the flg(3:deleted) to sesson. -->⑤Click button『Save』: I use the datum from session to update the table(A) a)added row ----Insert it into table(a) b)deleted row ----Delete it into table(a) c)edited row ----Update it into table(a) The above way is OK? Second way? Thank you very much! |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|