Click here to Skip to main content
15,914,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
we use ajax calendar in asp .net , when we insert date of birth in data base if textfield is blank then it take default value, how we remove this default value?
Posted

may be
This [^] will help you
 
Share this answer
 
First of all you need to add some more detail to your question, like what value you need to store as a default value etc..

FOR some help see this...

For this you need to care for it at the time of inserting the data..

When inserting data and at that time if birth date text box is empty or black then you need to pass the value what you want to store when the text box is empty..

Like when text box is empty you need to store NULL then while inserting you need to pass NULL value to your insert query
 
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