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
richard smith
1.5k
285
160.2k
Evaluate Multiple In One Statement
Jan 16 2013 3:43 PM
How would one evaluate 3 fields to determine if they are blank? I am creating an intranet page for my company, and the login screen requires the users 1st name, users last name and their company id. What I am needing to do is if all 3 fields are blank, highlight (and by highlight I mean backcolor) all 3 textboxes red (txtFirstName, txtLastName, txtComID), if 1st Name is entered BUT the other 2 fields remain null, then only highlight txtLastName and txtComID Red. What is the way to evaluate in C# to check all 3 fields and only highlight RED the field's that are null?
Reply
Answers (
4
)
C# Copy .EXE to %APPDATA%
in C# ineed2 get the table from sql by selecting date&time