Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to convert my date into the sql format
Posted
Comments
dan!sh 11-Jan-16 1:11am    
As the message states, the date has to be within acceptable range. Share what you are sending to database for help. You can make use of Improve Question link to update your question.
Member 11956239 11-Jan-16 1:49am    
public DateTime user_created_date { get; set; }
..................................................
DAL
class{
_cmd.Parameters.AddWithValue("@user_created_date", _obj.user_created_date)
}
.......................................
in sql i have given datatype
DATE
dan!sh 11-Jan-16 1:56am    
You should update your question with code, format it properly and provide more details here rather than in comments. Once you have updated the question, delete this comment trail.
Patrice T 11-Jan-16 1:46am    
And what is your date format ?
Member 11956239 11-Jan-16 3:04am    
plese help me

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