Solved

datetime picker -current day

Posted on 2010-11-15
4
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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