From 1dd585531e4ed75af4ad60384652a7ab22516aed Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Wed, 17 Jul 2019 16:08:50 +0200 Subject: [PATCH] fix connection string in control detail --- app/DD_PM_WINDREAM/frmControl_Detail.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/DD_PM_WINDREAM/frmControl_Detail.vb b/app/DD_PM_WINDREAM/frmControl_Detail.vb index 0ea6cf0..45f0937 100644 --- a/app/DD_PM_WINDREAM/frmControl_Detail.vb +++ b/app/DD_PM_WINDREAM/frmControl_Detail.vb @@ -9,6 +9,7 @@ Public Class frmControl_Detail Public Function FillData(ID As Integer) Try + TBPM_CONTROL_TABLETableAdapter.Connection.ConnectionString = CONNECTION_STRING TBPM_CONTROL_TABLETableAdapter.FillByGUID(DD_DMSLiteDataSet.TBPM_CONTROL_TABLE, ID) Return True Catch ex As System.Exception @@ -60,7 +61,6 @@ Public Class frmControl_Detail Me.Location = My.Settings.frmTableColumns_Position End If End If - Me.TBPM_CONTROL_TABLETableAdapter.Connection.ConnectionString = CONNECTION_STRING Catch ex As Exception LOGGER.Error(ex) MsgBox(ex.Message, MsgBoxStyle.Critical, "Fehler beim Laden der Formulardaten:")