Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to give or condition in C# page load
Pothi Sam
Oct 23 2014 2:19 AM
657
Reply
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;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Transfer data
cast the left hand side to type 'string'