string strtime = DateTime.Now.AddDays(-61).ToString("yyyy-MM-dd");
DataView dv = new DataView(ds.Tables[0]);
dv.RowFilter = "addtime>='" + strtime + "'";
this.lblFavCont.Text = dv.Count.ToString();
DataView 日期筛选
最新推荐文章于 2014-12-18 21:39:36 发布