Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ProgramRepository objProgramRepository = new ProgramRepository();

            if (HttpUtility.UrlDecode(Request.QueryString["id"]) != null)
            {
                List <Program> program = new List <Program>();
                program.Add(objProgramRepository.GetByProgramID(Convert.ToInt32(HttpUtility.UrlDecode(Request.QueryString["id"]))));
                RepeaterProgram.DataSource = program;
                RepeaterProgram.DataBind();
            }
        }