示例#1
0
        public void BindAllBooks()
        {
            DataTable dt = GoodsManager.SelectAllBooks();

            if (dt != null && dt.Rows.Count != 0)
            {
                LVBooks.DataSource = dt;
                LVBooks.DataBind();
            }
        }
示例#2
0
 protected void DPBooks_PreRender(object sender, EventArgs e)
 {
     LVBooks.DataBind();
 }