General information
Title:
Problem comparing strings
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only