jeudi 25 décembre 2014

If statement for SQLite data with C# Visual Studio

I have an sqLite database and want to check on the database cell value if the value of database is female or is it male and set global variable corresponding. So I want this in code:


If database table item is equal to "Female" then set my global variable to FEMALE. Else Set my global variable to MALE.


Aucun commentaire:

Enregistrer un commentaire