예제 #1
0
        protected void btnRemove_Click(object sender, EventArgs e)
        {
            MTCSYT.SYS_Session session    = (MTCSYT.SYS_Session)Session["SYS_Session"];
            string             makhachang = lbMaKH.Text;
            string             matram     = lbTram.Text;
            List <Object>      keyvalues  = grdKH.GetSelectedFieldValues("THOIGIAN");

            foreach (object key in keyvalues)
            {
                string thoigian = key + "";
                db.DELETE_TTTT_KHACHHANG_LUUY_INFO(matram, makhachang, thoigian);
            }
            LoadKH();
            grdKH.Selection.UnselectAll();
            loadDanhMuc();
        }