[c#] How to test if a DataSet is empty?

If (ds != null)

Should do the work for you!