Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         if (Request.QueryString["id"] == null)
         {
             Response.Redirect("index.aspx");
         }
         else
         {
             BookBL bl = new BookBL();
             FormView1.DataSource = bl.messgaeContent(Request.QueryString["id"]);
             FormView1.DataBind();
         }
     }
     catch (Exception ex)
     {
         ex.ToString();
     }
 }