0

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?

Attachments list.JPG 36.35 KB list2.JPG 35.13 KB
2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by nash_ph_41
0

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

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.