If Not myDataSet Is Nothing...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm rewriting a vb client app to C# and need to convert:

"If Not myDataSet Is Nothing Then"

I can't seem to get the syntax right for this one...
What would such a thing look like in C#?
 
Thanks for your reply.
The check for null didn't work, as the dataset has been declared at the time
of the check and null is returning false. What I finally did was put in a
count of tables within the dataset. If the count is 0, it hasn't yet been
populated.

David
 
Back
Top