Hi everyone,
Can I ask your suggestion? Please..
I got the problem in my query, about storing the Date into my database. When time I submit o saved the data inputed to my textfield , the query is okay, but when I checked the database the date it's not good(the date look like this '1/10/14 12:00:00' with time. in my C# form i customize the timepicker, I set to "Custom" w/o the time, in my database I set the Type to "DATE". I want time not include to save in the DB.
Can everyone help me?
the code that I sued:
public void SetMyCustomFormat()
{
// Set the Format type and the CustomFormat string.
timepicker_im.Format = DateTimePickerFormat.Custom;
timepicker_im.CustomFormat = "yy-MM-dd";
}
Regards,
Darry