4
Answers

Use of DateTimePicker

Navneet Nayak

Navneet Nayak

8y
247
1
I am making a form where i am adding DateTimePicker....
but after adding it is showing a default value as a date, i want it to be empty or <enter date> should be the default string...
after that i can click on the datetimepicker and select the date...
 
please suggest some code....!!!
thank u.. 
Answers (4)
1
Dipika

Dipika

NA 1.2k 14.6k 8y
set placeholder for your input text..
<input name="date" id="date" placeholder="Select date" other attributes if any> 
0
Navneet Nayak

Navneet Nayak

NA 27 1k 8y

this code can be written in web form but not in window form.
i am not getting the place where to write the code.
i have sent u the pic 
0
Dipika

Dipika

NA 1.2k 14.6k 8y
hmmm for windows form u can set a default text for your control
0
Navneet Nayak

Navneet Nayak

NA 27 1k 8y
can i use this code in windows form....
m using DateTimePicker tool