-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Clouds
Message 3 in Discussion
Are you using VB.NET ?
The way to handle this is...
<asp:Literal runat="server" Text='<%# IIf(Ctype(DataBinder.Eval(Container,
"DataItem.Utl_Min"), integer) > 0, "", "<tr style='background-color:FFECD8'>
<td>" + DataBinder.Eval(Container.DataItem, "Option1") + "</td></tr>" %>'>
</asp:Literal>
If you are using C# then instead of IIF(,,) use (?:) operator...
All the best
Badal
-----Original Message-----
From: MS_BJain [mailto:[EMAIL PROTECTED]
Sent: Mon 26/07/2004 18:03
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc:
Subject: Container.Dataitem with conditino - Need Urgent Help
<http://c.msn.com/c.gif?NC=9523&NA=34131&PS=&PI=26283&DI=416&TP=http://groups
msn.com>
<http://sc.groups.msn.com/themes/R9c/pby/img/mail/mlstar.gif> New Message
on BDOTNET <http://groups.msn.com/BDotNet>
<http://sc.groups.msn.com/img/R9c/c.gif>
Container.Dataitem with conditino - Need Urgent Help
<http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=showdiscus
sion&parent=1&item=18873>
Reply
<mailto:[EMAIL PROTECTED]
conditino%20%2D%20Need%20Urgent%20Help>
<http://sc.groups.msn.com/img/R9c/c.gif> Reply to Sender
<mailto:[EMAIL PROTECTED]
no%20%2D%20Need%20Urgent%20Help> Recommend
<http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=recommend&
parent=1&item=18873> Message 1 in Discussion
From: MS_BJain <http://groups.msn.com/BDotNet/profile?user=MS%5FBJain>
Hello,
I am BINDING Access Data to a Repeater Control
...........
<ItemTemplate>
<tr style="background-color:FFECD8">
<td>
<%# DataBinder.Eval(Container.DataItem, "Option1") %>
</td>
</tr>
<tr>
<td>
<%# DataBinder.Eval(Container.DataItem, "Message") %>
</td>
</tr>
<tr>
<td>
<%# DataBinder.Eval(Container.DataItem, "Currency") %>
</td>
</tr>
<tr>
<td>
<%# DataBinder.Eval(Container.DataItem, "Commission") %>
</td>
</tr>
</ItemTemplate>
.......
I want to Check Value of Option1 .. Say If it is (Option1 > 0) then Display
ROW else it should not create ROW.
is it possible or not ? can anyone out there.. will help me.. with
code/example?
Thank you
_____
Beat the summer heat. Get the new International Gillette Series Range!!
<http://g.msn.com/8HMBENIN/2740??PS=47575>
View other groups in this category.
<http://groups.msn.com/Browse?CatId=26>
Also on MSN:
Start Chatting <http://g.msn.com/2GRENUS/2_8085_01> | Listen to Music
<http://g.msn.com/2GRENUS/2_8085_02> | House & Home
<http://g.msn.com/2GRENUS/2_8085_03> | Try Online Dating
<http://g.msn.com/2GRENUS/2_8085_04> | Daily Horoscopes
<http://g.msn.com/2GRENUS/2_8085_05>
<http://sc.groups.msn.com/img/R9c/c.gif>
To stop getting this e-mail, or change how often it arrives, go to
your E-mail Settings <http://groups.msn.com/BDotNet/_emailsettings.msnw>
Need help? If you've forgotten your password, please go to Passport
Member Services <http://groups.msn.com/_passportredir.msnw?ppmprop=help> .
For other questions or feedback, go to our Contact Us
<http://groups.msn.com/contact> page.
If you do not want to receive future e-mail from this MSN group, or
if you received this message by mistake, please click the "Remove" link
below. On the pre-addressed e-mail message that opens, simply click "Send".
Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from BDOTNET.
<mailto:[EMAIL PROTECTED]>
DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged.
Before opening attachments please check them for viruses and defects. MindTree
Consulting Private Limited (MindTree) will not be responsible for any viruses or
defects or any forwarded attachments emanating either from within MindTree or outside.
If you have received this message by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized use or dissemination
of this message in whole or in part is strictly prohibited. Please note that e-mails
are susceptible to change and MindTree shall not be liable for any improper, untimely
or incomplete transmission.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]