public void BindAllVideo() { DataTable dt = GoodsManager.SelectAllVideo(); if (dt != null && dt.Rows.Count != 0) { LVVideo.DataSource = dt; LVVideo.DataBind(); } }
protected void DPVideo_PreRender(object sender, EventArgs e) { LVVideo.DataBind(); }