This commit is contained in:
SchreiberM
2016-10-26 12:46:10 +02:00
parent 946dbe3f08
commit 1a8b382732
12 changed files with 1425 additions and 920 deletions

View File

@@ -215,9 +215,13 @@ Public Class ClassHelper
For Each col As String In listdate
Dim colDate As DataColumn = tbltemp.Columns(col)
If Not IsNothing(colDate) Then
colDate.DataType = GetType(Date)
End If
Try
colDate.DataType = GetType(Date)
Catch ex As Exception
End Try
End If
Next
For Each col1 As String In listcheck
Dim collist As DataColumn = tbltemp.Columns(col1)
@@ -229,7 +233,7 @@ Public Class ClassHelper
tbltemp.Load(Primary_DT.CreateDataReader)
Return tbltemp
Catch ex As Exception
ClassLogger.Add(">> Attention: Could not load converted datatable: " & ex.Message, False)
ClassLogger.Add(">> Attention: Format_GridColumns - Could not load converted datatable: " & ex.Message, False)
'Tabelle wird ohne Datekonvertierung geladen
Dim DTEntity As DataTable = ClassDatabase.Return_Datatable(_ENTITYSQL, "Load_Entity_Data_Only")
Dim primaryKey(1) As DataColumn