Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DataTable dt = ItemAccess.GetAdminItemListToday();
         this.List.DataSource = dt;
         this.List.DataBind();
         this.Label1.Text = "记录:" + dt.Rows.Count;
     }
 }