DateTime dt_cr = Convert.ToDateTime(str_createtime); string str_date = dt_cr.ToString("yyyy-MM-dd"); str_sql2 += " CONVERT(varchar(100), created, 23)='" + str_date + "'";
DateTime dt_cr = Convert.ToDateTime(str_createtime); string str_date = dt_cr.ToString("yyyy-MM-dd"); str_sql2 += " CONVERT(varchar(100), created, 23)='" + str_date + "'";