Hi Joanna,
This is what I thought, but what I have noticed is during the datasource
update, if I update more than 1 field then only the first field is saved.
This is strange because the read operation loads all the fields in the
control properties.
To explain, I have created an address control (street, town, zip, country,
etc...) that I use in many places, I then want to bind the respective fields
to a customer, supplier, bank record etc...
The only problen is, I edit the full address and when writing the record
only the 1 altered field is written to the record? This to me seems strange,
or am I missing something?
Regards
"Joanna Carter [TeamB]" wrote:
> "codoherty" <(E-Mail Removed)> a écrit dans le message de
> news: 6047E59C-467A-4F22-939F-(E-Mail Removed)...
>
> | Is it possible to for a custom control to have 2 properties bound to 2
> | different fields from the same ADO.NET datasource. I noticed when writing
> | updates to my datasource only 1 field or property from the control is
> written.
>
> Any control can be bound to more than one field on the same object, simply
> add one Binding for each property on the control to the respective field.
>
> Joanna
>
> --
> Joanna Carter [TeamB]
> Consultant Software Engineer
>
>
>