protected void btnSend_Click(object sender, EventArgs e)
 {
     int authorId = int.Parse(Session["authorId"].ToString());
     Classes.Author a = new Classes.Author();
     a.authorId = authorId;
     a.authorName = txtAuthorName.Text;
     a.updateAuthor();
     Response.Redirect("~/App/author/listAuthors.aspx");
 }
Exemple #2
0
        protected void btnSend_Click(object sender, EventArgs e)
        {
            int authorId = int.Parse(Session["authorId"].ToString());

            Classes.Author a = new Classes.Author();
            a.authorId   = authorId;
            a.authorName = txtAuthorName.Text;
            a.updateAuthor();
            Response.Redirect("~/App/author/listAuthors.aspx");
        }