Carlos kambui

Carlos kambui

  • NA
  • 499
  • 125.6k

Below are codes in c# and vb.net

Feb 17 2017 5:56 AM
vb.net
when run below code the run without an error
If result.return_code = 1 Then
result.return_identity_id = Command.Parameters("@patient_id").Value
result.return_message = "Patient Process succesfull"
Else
End If
c# but this has an error
if (result.return_code == 1) {
result.return_identity_id = Command.Parameters("@patient_id").Value;
result.return_message = "Patient Process succesfull";
} else {
}
kindly rectify my errors 

Answers (14)