Using DynamicQuery - How to Check if Results Table has Records

I am working on a screen customization and am using the Dynamic Query Adapter. I want to check to see if the Results table contains records or not. I tried searching to see if I could find the correct syntax but was unable to.

Any help is greatly appreciated.

I use the code shown below.


That actually ended up not working. It compiled fine but got an error when it actually ran in screen. I ended up finding an answer through the magic of Google.

if (dqa2.QueryResults.Tables["Results"] == null)