コード例 #1
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     try
     {
         DataAccessForOrders.UpdateorderStatus(int.Parse(Label3.Text.ToString()), DropDownList1.Text.ToString());
         DataAccessForOrders.Updateorderqty(int.Parse(Label3.Text.ToString()), int.Parse(TextBox2.Text.ToString()));
         Label6.Text     = "Saved SuessFully";
         Button3.Enabled = false;
     }
     catch {
         Label6.Text = "Check the Information";
     }
 }
コード例 #2
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     DataAccessForOrders.UpdateorderStatus(int.Parse(Label3.Text.ToString()), DropDownList1.Text.ToString());
     DataAccessForOrders.Updateorderqty(int.Parse(Label3.Text.ToString()), int.Parse(TextBox2.Text.ToString()));
 }