protected void SaveTable(DataTable Table, string SaveProc) { foreach (DataRow row in Table.Rows) { this.SetAllParameters(row); this.ExecuteCommand(SaveProc); } } // The problem occurs in method ExecuteCommand. And the ExecuteCommand method looks like this: // simplified protected void ExecuteCommand(string StoredProcName) { try { this.oCommand.ExecuteNonQuery(); } catch (Exception ex) { // !! This is where I get the error that Breaks the code. throw ex; } }What I would like is to be able to return the error message back to the UI layer to be displayed.