Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem comparing strings
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Problem comparing strings
Miscellaneous
Thread ID:
00990955
Message ID:
00990955
Views:
47
Hi.
have the following code:
string MyNum
MyNum = drN["num_prev"].ToString();
.....num_prev is a character type field in a table, length 2

if ( MyNum3.Substr(2,1) = "Z") .. gives a Cannot Implicitly convert a type 'string' to 'bool'

Anybody any ideas of whats wrong here.

regards,
Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform