DataView changing with the table.

G

George

I have a small problem with DataView.

my DataTable has a field "selected" i am setting that field value to "1" and then getting DataView dv1 by filtering on "selected=1"
Then i am resetting selected back to 0 and setting it to "1" for another set of rows. Then i am getting DataView dv2.

My problem is that dv1 and dv2 turned out to have the same rows.

Looks like DataView detects my data manipulations and excludes/includes records according to the filter.

How can i prevent that. Can i disable monitoring and have it to behave like a static snapshot.

Thanks
George.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top