Esempio n. 1
0
 protected void btnSend_Click(object sender, EventArgs e)
 {
     Classes.Publisher p = new Classes.Publisher();
     p.publisherName = txtPublisherName.Text;
     p.addPublisher();
     Response.Redirect("~/default.aspx");
 }
Esempio n. 2
0
 protected void btnSend_Click(object sender, EventArgs e)
 {
     Classes.Publisher p = new Classes.Publisher();
     p.publisherName = txtPublisherName.Text;
     p.addPublisher();
     Response.Redirect("~/default.aspx");
 }
Esempio n. 3
0
 protected void btnSend_Click(object sender, EventArgs e)
 {
     int publisherId = int.Parse(Session["publisherId"].ToString());
     Classes.Publisher p = new Classes.Publisher();
     p.publisherName = txtPublisherName.Text;
     p.updatePublisher(publisherId);
     Response.Redirect("~/App/publisher/listPublishers.aspx");
 }
Esempio n. 4
0
        protected void btnSend_Click(object sender, EventArgs e)
        {
            int publisherId = int.Parse(Session["publisherId"].ToString());

            Classes.Publisher p = new Classes.Publisher();
            p.publisherName = txtPublisherName.Text;
            p.updatePublisher(publisherId);
            Response.Redirect("~/App/publisher/listPublishers.aspx");
        }