How to dynamically select rows from an SDE table?

Discussion created by teamigal on Feb 20, 2013
Latest reply on Feb 25, 2013 by teamigal
I have a WPF application which reads an MPK file.
All the layers of the MPK are located in an SDE database.

I can add table named "foo" in the MPK. But the table's name is dynamic so I can't.
For this example, how can I load and read from a table named "foo" using code?

And I want to do this in the same database connection session.