Beispiel #1
0
        private void LoadTramUT()
        {
            MTCSYT.SYS_Session session = (MTCSYT.SYS_Session)Session["SYS_Session"];
            DataTable          dsa     = db.SELECT_TTTT_TRAM_UUTIEN(session.User.ma_dviqlyDN);

            if (dsa.Rows.Count > 0)
            {
                btnRemove.Enabled = true;
            }
            else
            {
                btnRemove.Enabled = false;
            }
            grdTram_UT.DataSource = dsa;
            grdTram_UT.DataBind();
        }