Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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