Show Date in index confirmation, add new hash logic to all paths, fix hash empty when using folder watch #GI-12

This commit is contained in:
Jonathan Jenne
2021-05-04 12:22:38 +02:00
parent 0692d4e295
commit d771895b43
4 changed files with 118 additions and 52 deletions

View File

@@ -109,7 +109,7 @@ Public Class ClassDatabase
Return Nothing
End Try
End Function
Public Shared Function Return_Datatable_CS(sql_command As String, ConString As String, Optional userInput As Boolean = False)
Public Shared Function Return_Datatable_CS(sql_command As String, ConString As String, Optional userInput As Boolean = False) As DataTable
Try
Dim SQLconnect As New SqlConnection
Dim SQLcommand As SqlCommand
@@ -138,7 +138,7 @@ Public Class ClassDatabase
LOGGER.Info("#SQL: " & sql_command)
End If
Return False
Return Nothing
Catch ex As Exception
If userInput = True Then
MsgBox("Error in Return_Datatable_CS - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)