Seeking a opinion for the datagrid (web + asp.net))

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2007
Posts: 5
Reputation: nash_ph_41 is an unknown quantity at this point 
Solved Threads: 0
nash_ph_41 nash_ph_41 is offline Offline
Newbie Poster

Seeking a opinion for the datagrid (web + asp.net))

 
0
  #1
Oct 7th, 2008
I have a condition for a datagrid (Please view the list.JPG from the attachment)

in here you can see a set of data being load from the database.

User can perform add, remove , dispose function

Here is my condition:

Since user allow to add, it also allow to remove (view the list2.JPG from the attachment)

But sometimes user may accidently remove the data they need.

So what they need to do is just click close button , and back to this page again

The actual data load from database remain same.

My question is how to load that set of data from database to a temporary dataset

this dataset will perform the operation just now (add or remove)

When all done, system will update back this temporary dataset to the database.

It that possible to do in web application?
Attached Thumbnails
list.JPG   list2.JPG  
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 80
Reputation: reach_yousuf is an unknown quantity at this point 
Solved Threads: 14
reach_yousuf reach_yousuf is offline Offline
Junior Poster in Training

Re: Seeking a opinion for the datagrid (web + asp.net))

 
0
  #2
Oct 8th, 2008
You can use sessions to maintain two dataset

1) dataset1 can hold the original result loaded from the DB
2) dataset2 should hold the manupulated current dataset which has added/updated/deleted row(s).

Regards
Mohammed Yousuf uddin
software Developer
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 5
Reputation: nash_ph_41 is an unknown quantity at this point 
Solved Threads: 0
nash_ph_41 nash_ph_41 is offline Offline
Newbie Poster

Re: Seeking a opinion for the datagrid (web + asp.net))

 
0
  #3
Oct 8th, 2008
Originally Posted by reach_yousuf View Post
You can use sessions to maintain two dataset

1) dataset1 can hold the original result loaded from the DB
2) dataset2 should hold the manupulated current dataset which has added/updated/deleted row(s).

Regards
Mohammed Yousuf uddin
software Developer

thanks a lot. this it what i doing now
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC