Exemplo n.º 1
0
        private void btn_out_Click(object sender, System.EventArgs e)
        {
            BBSClass bbs = new BBSClass();
            try
            {
                //����listbox�õ�ѡ�еĵ���Աid
                for(int i=0;i<lbBoardMasterList.Items.Count;i++)
                {
                    if(lbBoardMasterList.Items[i].Selected)
                    {
                        bbs.DelBoardMaster(boardid,Int32.Parse(lbBoardMasterList.Items[i].Value));
                    }
                }
                Response.Redirect("ManageBoardMaster.aspx?BoardID="+boardid+"&ClassID="+classid);

            }
            catch(Exception ex)
            {
                UDS.Components.Error.Log(ex.ToString());
                Server.Transfer("../../Error.aspx");
            }
        }