Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DateTimePicker with ISeries

$
0
0

The ISeries timestamp field is an ISO 8661 (I may have the number wrong), but it stores as a text "yyyy-MM-dd-HH-mm-ss.ffff" So when data binding to the datetimepicker it can not understand how to convert the date, so it uses the null value. Then when updating from it you get the "MM/dd/yyyy"'ish and when updating the table fails.

My thought is if I could subclass the DTP, and hook where binding sets and reads the value I could convert so every one is happy.

What property, method, and/or event can/should I override?


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>