﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » DateTimePicker is not saving values</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 07:01:32 GMT</lastBuildDate><ttl>20</ttl><item><title>DateTimePicker is not saving values</title><link>http://forum.strataframe.net/FindPost30689.aspx</link><description>Hi&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I´m using a simple form, with a DateTimePicker control bound to a datetime field in SQl. The DateTimePicker is bound, and the null value is set to 1/1/1800...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;The bo save all the form´s values, but the DateTimePicker value ....&lt;br/&gt;&lt;br/&gt;&lt;div&gt;If you put a value directly in SQL it shows in the DTPicker, but when you change the value and save it leaves empty...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;VS2010, last varsion o SF. C#&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Any idea ?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Tks.</description><pubDate>Tue, 06 Dec 2011 17:31:55 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: DateTimePicker is not saving values</title><link>http://forum.strataframe.net/FindPost30692.aspx</link><description>Then, for me, it is a bit hard to tell. I haven't used the DateTimePicker for a while since we got the DateBox control, but if you are dropping a SF DateTimePicker to your form, it is bound to the same BO as the other controls that are saving and the BO is properly mapped, it should just work.&lt;br/&gt;&lt;br/&gt;If you think you could reproduce this issue on a sample project using the StrataFrameSample database and post it over here, we would be able to have a look at it and try to find what could be going on.</description><pubDate>Tue, 06 Dec 2011 17:31:55 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: DateTimePicker is not saving values</title><link>http://forum.strataframe.net/FindPost30691.aspx</link><description>Ivan,&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you for attention...&lt;br/&gt;&lt;br/&gt;&lt;div&gt;No, I did not ... all properties and configurations are default ....&lt;br/&gt;&lt;br/&gt;&lt;div&gt;And all the others fields are saving ...&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 06 Dec 2011 16:28:41 GMT</pubDate><dc:creator>Marcelo Blank</dc:creator></item><item><title>RE: DateTimePicker is not saving values</title><link>http://forum.strataframe.net/FindPost30690.aspx</link><description>Hi Marcelo.&lt;br/&gt;&lt;br/&gt;You haven't, by any chance, added this field to the BO's FieldsToExcludeFromUpdate property, have you?</description><pubDate>Tue, 06 Dec 2011 15:48:50 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>