Public Class Tools
#Region "Public methods"
'''Überprüft TableCount und RowCount eines DataSet
'''
'''True wenn table- und rowcount > 0
Public Shared Function IsDataSetValid(ByVal ds As DataSet) As Boolean
Try
If ds.Tables.Count > 0 Then
If ds.Tables(0).Rows.Count > 0 Then
Return True
End If
End If
Return False
Catch ex As Exception
Throw ex
End Try
End Function
#End Region
End Class