I noticed when I changed the binding statment it work fine !!
- Old Code -
Me.dtpMeasureDate.DataBindings.Add("Value", myDS, "Member.MemMsr.MeasureDate")
- New Code -
Me.dtpMeasureDate.DataBindings.Add("Text", myDS, "Member.MemMsr.MeasureDate")
Isn't the "Value" is the correct use ??
>Dear All,
>
>I am having a strange problem and I don't know if anyone of you has came across this before.
>
>I added the DateTimePicker object to the first Tab in my Form and bind it to a dataset and it works fine.
>Then I added another DateTimePicker object to the second Tab in the same form, when I bind it to my dataset all the databinding for all the object (DataGrid, ComboBox) stops.
>If I replaced the DTP object with a Text box it works fine !!!!
>
>Any idea please.
>Thanks in advacne
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>