TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Indigo Montoya
NA
7
22.5k
Convert string to Bool
Dec 22 2012 1:23 PM
I am attempting to use a if - else statement that will change the users input options on the backend. For example, in the drop down menu the data entry person can choose Fire-Truck...however on the backend (and routing purposes I need it to read differently) So I want to use
[code]
If userentry.text = "Firetruck"
userentry.text = "Ford Truck to Put Out Fires"
[/code]
However this gives me an error of unable to implicitly convert from string to bool. How does this need to be modified or re-written even so that the conditions I need to meet can be met?
Reply
Answers (
2
)
error when i need choose database object
Bold 1st Row in Excel Via C#