Solved

datetime picker -current day

Posted on 2010-11-15
4
465 Views
Last Modified: 2012-05-10
How to default infragistics datetime picker control  to current day in page load??

I have a form which has datetime picker that should be defaulted to current day in page load....
I appreciate if someone can give an example...


Thanks!
0
Comment
Question by:onebite2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
Mez4343 earned 500 total points
ID: 34138404
Use the Value property to set the date. You can use the built in DateTIme.Now function to set it.

dateTimePicker1.Value = DateTime.Now
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 34151777
>>Zones: SQL Server 2005, Microsoft Visual Basic.Net<<
Is this question related to SQL Server 2005?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 34540982
While I appreciate the points they are not meritted and I will ask an EE Moderator to re-open the question so that they can be better allocated.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question