Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# and datasets compile error?
Message
De
03/03/2004 16:13:30
 
 
À
03/03/2004 16:10:40
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00882892
Message ID:
00882895
Vues:
26
Hey, JB...

I believe you said this was the offending line...

if userDS.Tables(0).Rows.Count = 1

If you change it to this, it should be OK...

if (userDS.Tables(0).Rows.Count == 1)

note that in C, one '=' is for assignment, two '==' for comparison.

HTH...

Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform