Bereichtigung der Einschränkungen bei DT is not null anstatt dt is null und row.count is null da GEGENTEIL der gesuchte Fall ist.

This commit is contained in:
ja
2021-09-21 16:09:05 +02:00
parent 6035f73a0a
commit db208da3ce
2 changed files with 2 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ Partial Class Kundenbereich_Default
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB(Art, Kdnrtext, {5}, Nothing, Nothing, Absender, Empfaenger, LKWNR, KDNAFNR)
End If
If dt IsNot Nothing AndAlso dt.Rows.Count = 0 Then
If dt IsNot Nothing AndAlso Not dt.Rows.Count = 0 Then
Dim i As Integer = 0
For Each d In dt.Rows
Dim tr = New TableRow