public void SetTyp4FAQs(string sName, int nTCID) { MultiView1.ActiveViewIndex = 3; lblBigTitle.Text = sName; DBLL.clsFAQs clsFAQs = new DBLL.clsFAQs(); lvFAQs.DataSource = clsFAQs.sp_selectNormalTableOfAllByFAQs(false); lvFAQs.DataBind(); }
public void ReBindPageList() { DBLL.clsFAQs FAQs = new DBLL.clsFAQs(); DataTable dt = new DataTable(); dt = FAQs.sp_selectNormalTableOfAllByFAQs(false); if (dt != null) { FAQList.Merge(dt); lvFAQList.DataSource = FAQList; lvFAQList.DataBind(); } else { lvFAQList.DataSource = null; lvFAQList.DataBind(); } }