62,074
社区成员
发帖
与我相关
我的任务
分享
string sqlCivilNewsCount = "select count(*) from NewsInfo where CategoryId=1 and Convert(varchar(8),CreateTime,120) ='" + nowTime + "'";
string sqlCivilNewsCount = "select count(*) from NewsInfo where CategoryId=1 and Convert(DateTime,CreateTime,120) like '%" + nowTime + "%'";