From 3dcca628a657a9a438ca8e32f1879809245fd61a Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 31 Jan 2020 10:58:54 +0100 Subject: [PATCH] remove bindingsource for gridcontrol --- app/DD_PM_WINDREAM/ClassControlCreator.vb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/DD_PM_WINDREAM/ClassControlCreator.vb b/app/DD_PM_WINDREAM/ClassControlCreator.vb index 60a979a..3303ae7 100644 --- a/app/DD_PM_WINDREAM/ClassControlCreator.vb +++ b/app/DD_PM_WINDREAM/ClassControlCreator.vb @@ -481,9 +481,7 @@ Public Class ClassControlCreator Next - Dim oSource As New BindingSource() With {.DataSource = oDatatable} - - oControl.DataSource = oSource + oControl.DataSource = oDatatable oControl.RefreshDataSource() oControl.ForceInitialize() oView.PopulateColumns()