protected void Button3_Click(object sender, EventArgs e)
 {
     try
     {
         DataAccessForOrders.UpdateorderStatus(int.Parse(Label4.Text.ToString()), DropDownList1.Text.ToString());
         DataAccessForOrders.InsertProducttransation(GridView2.SelectedRow.Cells[1].Text.ToString(), GridView2.SelectedRow.Cells[2].Text.ToString(), int.Parse(Label8.Text), double.Parse(Label7.Text), double.Parse(Label15.Text), DateTime.Parse(GridView2.SelectedRow.Cells[5].Text.ToString()));
     }
     catch
     { }
 }
Esempio n. 2
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";
     }
 }
 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()));
 }