Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# and datasets compile error?
Message
From
03/03/2004 16:13:30
 
 
To
03/03/2004 16:10:40
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00882892
Message ID:
00882895
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform