Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Snippets.CheckAdmin(User, Server);

            try
            {
                _lvl       = Convert.ToInt32(Request.QueryString["exerciseIndex"]);
                _levelData = Snippets.getLevelData(_lvl).AsEnumerable().FirstOrDefault();
                object test = _levelData[2];
            }
            catch
            {
                Server.Transfer(@"~/admin/CMS.aspx");
            }
        }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Snippets.CheckAdmin(User, Server);
 }