摘要: 1、数据绑定 a、dataset方式:DataSet ds = new Select().From(Guardianf.Schema).ExecuteDataSet();Grid1.DataSource = ds;Grid1.DataBind(); b、直接运用:SqlQuery q = new Select().From<Guardianf>(); GuardianfCollection all1 = q.ExecuteAsCollection<GuardianfCollection>(); Grid1.DataSource = all1; Gri... 阅读全文
posted @ 2012-07-31 14:55 Ro_s__ 阅读(172) 评论(0) 推荐(0) 编辑