コード例 #1
0
        protected void btnRemove_Click(object sender, EventArgs e)
        {
            MTCSYT.SYS_Session session     = (MTCSYT.SYS_Session)Session["SYS_Session"];
            string             strMadviqly = session.User.ma_dviqlyDN;
            List <Object>      keyvalues   = grdTram_UT.GetSelectedFieldValues("MATRAM");

            foreach (object key in keyvalues)
            {
                string matram = key + "";
                db.DELETE_TTTT_TRAM_UUTIEN(strMadviqly, matram);
            }
            LoadTramUT();
            LoadTram();
            grdTram_UT.Selection.UnselectAll();
            grdTram.Selection.UnselectAll();
        }