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
Pothi Sam
NA
335
50.4k
how to give or condition in C# page load
Oct 23 2014 2:19 AM
if (txtfrom2.Text.Trim().Length == 0 or txtto2.Text.Trim().Length == 0)
{
Rftxtfrom2.Visible = false;
Rftxtto2.Visible = false;
Rftxtjd2.Visible = false;
Rftxtflno2.Visible = false;
Rftxtdep2.Visible = false;
}
else
{
Rftxtfrom2.Visible = true;
Rftxtto2.Visible = true;
Rftxtjd2.Visible = true;
Rftxtflno2.Visible = true;
Rftxtdep2.Visible = true;
}
Reply
Answers (
1
)
Transfer data
cast the left hand side to type 'string'