• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 485
  • Last Modified:

datetime picker -current day

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
onebite2
Asked:
onebite2
  • 2
1 Solution
 
Mez4343Commented:
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
 
Anthony PerkinsCommented:
>>Zones: SQL Server 2005, Microsoft Visual Basic.Net<<
Is this question related to SQL Server 2005?
0
 
Anthony PerkinsCommented:
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now