|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
datetimepickerWhen adding a new record from my form, I pre-set my DateTimePicker's value to
System.DateTime.Today Since the "Today" value is used most of the time, the user doesn't need to select a date from the DateTimePicker, since the default is shown. My problem is, if the user does not choose a value from the DateTimePicker (because using the default is good enough), then during database update, the date value is not saved to the database; while if user choose another value other then the default, the value can be saved to the database successfully. Is there a way to ensure the default value can be saved to the database? "Clamara" <Clam***@discussions.microsoft.com> wrote in message
news:0A91AA24-3B7A-4B84-9E52-FEE326239166@microsoft.com > When adding a new record from my form, I pre-set my DateTimePicker's > value to System.DateTime.Today --
<response type="generic" language="VB.Net"> This newsgroup is for users of Visual Basic version 6.0 and earlier and not the misleadingly named VB.Net or VB 200x. Solutions, and often even the questions, for one platform will be meaningless in the other. When VB.Net was released Microsoft created new newsgroups devoted to the new platform so that neither group of developers need wade through the clutter of unrelated topics. Look for newsgroups with the words "dotnet" or "vsnet" in their name. For the msnews.microsoft.com news server try these: microsoft.public.dotnet.general microsoft.public.dotnet.languages.vb </response>
simple Excel question
Failed to load control...Your version of ocx may be outdated.. Support Classic VB Current User Set Scroll position in a list box How to query for "today's" records? 3433 Invalid setting in Excel key of the Engines section of the Windows Registry VB6 and HTMLHelp crash Printing Inbox mail items problem Command Button |
|||||||||||||||||||||||