Create and using of DataLink at RunTime
Posted: Tue 16 Aug 2016 16:52
Hello,
I have a form where i bind data using the DataLink and SqlDataTable.
I create this component at DesignTime and drop it on the form.
Everything works fine and as expected.
When i try to create the DataLink at RunTime it isn't working at all.
I set the same properties like at DesignTime:
DataSource set to SqlDataTable and Synchronized = True.
Manipulating and navigating with the RunTime created DataLink doesn't work.
Am i missing setting some property when creating the DataLink at RunTime?
Thanks.
I have a form where i bind data using the DataLink and SqlDataTable.
I create this component at DesignTime and drop it on the form.
Everything works fine and as expected.
When i try to create the DataLink at RunTime it isn't working at all.
I set the same properties like at DesignTime:
DataSource set to SqlDataTable and Synchronized = True.
Manipulating and navigating with the RunTime created DataLink doesn't work.
Am i missing setting some property when creating the DataLink at RunTime?
Thanks.