Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beginner q
Message
De
01/08/2003 13:12:45
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00815425
Message ID:
00815956
Vues:
11
Mark,

>>>this is the error i was getting
Cannot implicitly convert type 'string' to 'bool' <


I don't know why you'd get that error, unless you had were using a single "=" when you should have been using "==", like this:
if (PatientTextBox.Text = "")
instead of
if (PatientTextBox.Text == "")
But, in your example, you were using a "!=", so I didn't see anything wrong with it.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform