Example #1
0
    protected void BindGrid()
    {
        DataTable dt = ItemAccess.GetAdminItemList();

        this.List.DataSource = dt;
        this.List.DataBind();
        this.Label1.Text = "记录:" + dt.Rows.Count;
    }