Пример #1
0
        //public static Hashtable ht = new Hashtable();
        //public static Hashtable htBID = new Hashtable();
        //public static string id = "";
        //public static string ParentBName = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                boardIDInfo.Value = "leader";
                try
                {
                    //显示该板块的Infomation
                    DataSet infoData = new DataSet();
                    infoData = memBll.GetListByPage(" Status in ('1','2') ", " MemberID asc ", 1, 15);
                    repNewsList.DataSource = infoData;
                    repNewsList.DataBind();
                }
                catch (Exception ex)
                {
                    Maticsoft.Common.MessageBox.Show(this.Page, "可能原因:\\n         1.网络错误\\n         2.暂时无数据\\n       请重试!" + ex.Message);
                }
            }
        }