If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > How to save modified datum in the dhtmlxGrid to DB?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-09, 23:13
jp7234 jp7234 is offline
Registered User
 
Join Date: Aug 2006
Posts: 58
How to save modified datum in the dhtmlxGrid to DB?

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:updated) 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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On