I am trying to execute two commands and i received this error that says that " The connection was not closed. The connection's current state is open".
Here is what i have.
if ((int)cmd1.ExecuteScalar() == 1)
txtTexbox1.Text = "Record Updated";
txtTexbox1.Text = "Saved";
catch (Exception exc)
txtTexbox1.Text = exc.Message;