摘要: 查询当天的内容:select * from article where datediff(day,时间字段,getdate())=0 本周:select * from article where datediff(week,时间字段,getdate())=0 DateTime dd = (DateTime)ds.Tables[0].Rows[i]["pubdate"]; if (Da... 阅读全文
posted @ 2009-01-08 12:46 7x10 阅读(179) 评论(0) 推荐(0) 编辑