We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DatetimePickerAdv and nulls

Thread ID:

Created:

Updated:

Platform:

Replies:

76955 Sep 30,2008 08:16 PM Dec 1,2008 07:15 AM Windows Forms 3
loading
Tags: Tools
Tom Affholter
Asked On September 30, 2008 08:16 PM

I recently made some functional changes to an Windows app I wrote using earlier versions of Syncfusion. Currently I run 5.2.0.25.

In earlier versions I hard coded my insert statement. My DateTimePicker Control worked fine. The control was initially null and I displayed "" in the nullstring property.

I then modified my code to use tableAdapters and the .AddNew() method. Now, rather than displaying the nullstring, the control displays the contents of the record on the screen when addnew() was fired. I started debugging immediately after the .addnew() and found some strange values. It displays 1/1/1753 in watch. But when the screen refreshes, it displays the most previous records contents as I mentioned. Data writes correctly. I want the nullstring to show on new records. I can't have optional fields filled in. Thus far my research indicated I can't assign a null value to a dateTimePicker.

Any ideas what is going on?

Thanks,

Tom



Hemaladha K [Syncfusion]
Replied On October 6, 2008 02:54 AM

Hi Tom,

As you do not currently have a subscription for technical support, this incident will now be closed. If you are actually the sole user of that license and would like it transferred to your account, please email salessupport@syncfusion.com with that request. To reinstate its subscription coverage, you can place an order online at https://www.syncfusion.com/sales/order/renew_expired.aspx.
If you have any questions about how to proceed, please be in touch.

Regards,
Hema


Tom Affholter
Replied On October 6, 2008 09:28 AM

Why does that pertain to forums? Do I no longer get to post here? We continue to get updates here at the college.

Thanks


Fathima Shalini P [Syncfusion]
Replied On December 1, 2008 07:15 AM

Hi Tom,

Thank you for your update.

Please followup the incident 50218 for more details regarding this issue.

Please let me know if any concerns.

Regards,
Fathima


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;