如何在"DynamicQueryable
"字符串中使用"DateTime
"字段?
例如:
strWhere += "Time >= ("" + DateTime.Now + "")";
strWhere += "Time >= ("" + DateTime.Now.ToString() + "")";
或
strWhere += "Time >= ("" + DateTime.Now.ToString("ddMMMyyyy") + "")";
执行类似的操作
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")