SqlTransaction has completed, it is no longer usable
SqlTransaction has completed; it is no longer usable...
This is the code:
if (mfnSaveForm() == true)
{
// (Before commintting record this error had come.)
GblDeclarations.gblSQLTrans.Commit();
MessageBox.Show("Records Updated Successfully", "RECORD SAVED", MessageBoxButtons.OK, MessageBoxIcon.Information);
btnSave.Enabled = false;
GblDeclarations.gblTransBegin = false;
}
Please Give me the solution....Thank you