Question DateTimePicker

tprsan

Member
Joined
Feb 17, 2010
Messages
8
Programming Experience
3-5
hi developers.....

i am using DateTimePicker control....
my code is TextBox2.text=DateTimePicker1.Text.......while changing it correctly dispaly the selected date in textbox......the problem is i want to store the date in my database of field datetime type........

when i click the add button it shows "Syntax Error Converting DateTime from String"


Plz...help me....very urgent.........
 
Back
Top