Solved

datetime picker -current day

Posted on 2010-11-15
4
460 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
Comment Utility
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
Comment Utility
>>Zones: SQL Server 2005, Microsoft Visual Basic.Net<<
Is this question related to SQL Server 2005?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now