ColumnChaning / DataSource changed value event for DataLink

ColumnChaning / DataSource changed value event for DataLink

Postby chris901 » Tue 16 Aug 2016 16:57

Hello,

I have a form where i bind data using the DataLink component.

I noticed that the SqlDataTable component has an event called ColumnChaning that fires when a value inside the DataSource changes and the DataSource gets updated.

For example when i edit the text in a TextBox it fires the ColumnChaning event.

Is it possible to implement this event in the DataLink component so it also detects changes in the DataSource?

I tried all existing events of DataLink but none behaves like SqlDatTables' "ColumnChaning" event.

Thanks.
chris901
 
Posts: 64
Joined: Wed 20 Jul 2016 04:21

Re: ColumnChaning / DataSource changed value event for DataLink

Postby Pinturiccio » Thu 18 Aug 2016 15:31

The DataLink class, as a BindingSource descendant, does not monitor its data; it monitors its position, and that’s why it does not have such events by design, as well as BindingSource.
Pinturiccio
Devart Team
 
Posts: 2021
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for PostgreSQL