Advertisement

03.17.2008 at 06:12AM PDT, ID: 23246863
[x]
Attachment Details

ASP.NET aspx page if statement

Asked by lrbrister in Microsoft Visual C#.Net, .Net Editors & IDEs, Visual Studio .NET 2005

How can I place an if statement in C# so that

if Container.DataItem, "MLS"  is in (000001. 000002) the entire line below doesn't appear?


<span class="c2005"><a href="../../<%# DataBinder.Eval(Container.DataItem, "State")%>/<%# DataBinder.Eval(Container.DataItem, "County")%>/<%# DataBinder.Eval(Container.DataItem, "City")%>/<%# DataBinder.Eval(Container.DataItem, "mls")%>.aspx" target="_self"> Web Reference # <%# DataBinder.Eval(Container.DataItem, "MLS")%></a><br>Start Free Trial
[+][-]03.17.2008 at 06:24AM PDT, ID: 21141871

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 06:30AM PDT, ID: 21141916

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 06:36AM PDT, ID: 21141968

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 06:44AM PDT, ID: 21142040

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 07:07AM PDT, ID: 21142233

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 07:14AM PDT, ID: 21142279

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 07:23AM PDT, ID: 21142362

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, .Net Editors & IDEs, Visual Studio .NET 2005
Sign Up Now!
Solution Provided By: FernandoSoto
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.17.2008 at 07:51AM PDT, ID: 21142653

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.17.2008 at 08:08AM PDT, ID: 21142844

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906