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())); }