SqlCeResultSet re-use

Posted by pdiddy on Stack Overflow See other posts from Stack Overflow or by pdiddy
Published on 2010-06-14T03:12:31Z Indexed on 2010/06/14 3:22 UTC
Read the original article Hit count: 425

Filed under:
|
|

Can I reuse an existing result set to filter?

Lets say I have a result set that contains all data.

Then I want to filter that resultset.

Can I just execute the sqlcommand on the same resultset? I tried and it didn't seem to work. Does someone know the reason?

So the only way to make it work was to create a new resultset and execute the command on that one. So this way I'm always creating a new resulset, can this have some issue?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET