Click here to Skip to main content
16,023,224 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends
my requirement is i need two text box in that one text box for date another text box is for time will be display. and by this text box we change date and time.
same thing i done in C# window forms through datetimepicker control from toolbox but this control is not available in the ASP.net, how can i design the datetimepicker in ASP.net pl help me
Posted
Updated 24-Mar-10 19:36pm
v4

this is for window application

add datetime picker in your form
code:
string fromdate;
fromdate = dateTimePicker1.Text;
 
Share this answer
 
pradeep kumar patwari wrote:
can i design the datetimepicker in ASP.net


Yes you can. Or you could get one of the many examples on the internet. One common way of implementing a date/time control is to use a series of dropdown lists - one for day, one for month, one for year, and then have validation criteria against them.
 
Share this answer
 
There's a ton of date and date time pickers out there, all of them use javascript, by definition. Find one you like, and integrate it into your site.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900