fix column names in config

This commit is contained in:
Jonathan Jenne
2022-09-05 11:28:19 +02:00
parent 608b077671
commit 371305fb41
3 changed files with 88 additions and 25 deletions

View File

@@ -180,8 +180,12 @@ Public Class frmConfig
End Sub
Private Sub GridViewTables_FocusedRowChanged(sender As Object, e As Views.Base.FocusedRowChangedEventArgs) Handles GridViewTables.FocusedRowChanged
Dim oRow As DataRow = GridViewTables.GetDataRow(GridViewTables.FocusedRowHandle)
Dim oTableId = oRow.Item("TABLE_ID")
TBMT_TEMPLATE_ITEMSTableAdapter.Fill(DS_DD_ECM.TBMT_TEMPLATE_ITEMS, oTableId)
Try
Dim oRow As DataRow = GridViewTables.GetDataRow(GridViewTables.FocusedRowHandle)
Dim oTableId = oRow.Item("GUID")
TBMT_TEMPLATE_ITEMSTableAdapter.Fill(DS_DD_ECM.TBMT_TEMPLATE_ITEMS, oTableId)
Catch ex As Exception
FormHelper.ShowError(ex, "Laden der Tabelle")
End Try
End Sub
End Class