vendredi 27 février 2015

string was not recognized as valid BOOL


oComm = CreateCommand("IsMapAccessExist", spParams, TypeOfConnectionString.GeoAppBuilder);

bool exists = true;
exists = Boolean.Parse(oComm.ExecuteScalar().ToString());

return exist


exists has the value 'true' but it throws the error



FormatException was caught
String was not recognized as a valid Boolean.

Aucun commentaire:

Enregistrer un commentaire