Re: Date Insert Problem in mySQL
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2005 15:51:29 +0100
"Jassim Rahma" <jrahma@xxxxxxxxxxx> wrote in message
news:u8F8iG%23eFHA.584@xxxxxxxxxxxxxxxxxxxxxxx
> I am using C# to insert a date value from the DatePicker into a DateTime
> filed in mySQL database.. I am using the following syntax:
>
> '" + datePicker.Value + "'
Does this fix it...?
'" + datePicker.Value.ToString("yyyy/MM/dd") + "'
> I also triend it withour the ' and with #
It needs the apostrophe, not the hash.
.
- Follow-Ups:
- Re: Date Insert Problem in mySQL
- From: Jassim Rahma
- Re: Date Insert Problem in mySQL
- References:
- Date Insert Problem in mySQL
- From: Jassim Rahma
- Date Insert Problem in mySQL
- Prev by Date: Re: how to fill in html textbox from windows application
- Next by Date: Re: MYSql?
- Previous by thread: Date Insert Problem in mySQL
- Next by thread: Re: Date Insert Problem in mySQL
- Index(es):
Relevant Pages
|