this is my input to a text box from a datetime calendar and to store the datetime in the DB i want the value to be changed to Date time.
DateTime Res_date = Convert.ToDateTime(txt_RespondBy.Text);
当我改写时,有一处错误,说没有被承认为有效日期。 如何将投入转换到目前的时间。
价值: 10/27/2011 03:25