Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Cultural.BLL.Link linkBLL = new Cultural.BLL.Link();
            string            id      = Request.QueryString["id"];

            if (id != null && id.ToString() != "")
            {
                Cultural.Model.Link link = new Cultural.Model.Link();
                link             = linkBLL.GetModel(int.Parse(id));
                lblName.Text     = link.LinkName;
                lblURL.Text      = link.URL;
                LinkImg.ImageUrl = "../../Image/LinkPhoto/" + link.PicURL;
                URL = link.URL;
            }
        }