Int32 numToModality = Convert.ToInt32((commandToModality.ExecuteScalar())); if (numToModality != 0) { Int32 numToStudyType =Convert.ToInt32(commandToStudyType.ExecuteScalar()); if (numToStudyType != 0) { //some message to he user } else { //i want to rollback commandToModality command } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)