sql error not thrown back to caller
I am new to this forum but please bear with me. I have a c# Windows form which has two checkboxes on it One is called chkThrowError and the other is called chkDivideError, both are unchecked. These controls are purely there to control execution of a stored procedure. I have a command Button with the following Code: private void cmdError_Click(object sender, EventArgs e) { int ThrowError = 0; int DividByZero = 0; if (chkThrowError.Checked) { ThrowError = 1; } if (chkDivideError.Checked) { DividByZero = 1; } try { clsBBFinances.TestError(ThrowError,DividByZero); MessageBox.Show("Everything is