ColumnChaning / DataSource changed value event for DataLink

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
chris901
Posts: 64
Joined: Wed 20 Jul 2016 04:21

ColumnChaning / DataSource changed value event for DataLink

Post by 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.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: ColumnChaning / DataSource changed value event for DataLink

Post by 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.

Post Reply