Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner q
Message
From
01/08/2003 13:12:45
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00815425
Message ID:
00815956
Views:
10
Mark,

>>>this is the error i was getting
Cannot implicitly convert type 'string' to 'bool' <


I don't know why you'd get that error, unless you had were using a single "=" when you should have been using "==", like this:
if (PatientTextBox.Text = "")
instead of
if (PatientTextBox.Text == "")
But, in your example, you were using a "!=", so I didn't see anything wrong with it.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform