You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
598 B
24 lines
598 B
Public Class Tools
|
|
|
|
#Region "Public methods"
|
|
|
|
'''<summary>Überprüft TableCount und RowCount eines DataSet</summary>
|
|
'''<param name="ds"></param>
|
|
'''<returns>True wenn table- und rowcount > 0</returns>
|
|
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
|