L
LIN
i have an asp reapater and the code to display the repeater item looks like
this
<ItemTemplate>
<tr class="datagriditemstyle">
<td width="400"> <a href="<%# "http:\\" &
Server.UrlEncode(Container.DataItem("RefSiteName"))%>"><%#Container.DataItem
("RefsiteName")%></a> </td>
<td width="68"><%#Container.Dataitem("NoofRefers")%></td>
<td width="68"><%#Container.Dataitem("NoofRefers %")%>%</td>
</tr>
</ItemTemplate>
as u see my first row is a hyperlink row so all items displayed in tht row
are hyperlinked ..now when i have to check if the item in tht hyperlink row
is "others" then i shld not hyperlink it otherwise i shld for eg
my repeater will look like this
google 10 10%
yahoo 10 10%
others 80 80%
as per my code all the items in the sitename field will be linked but i dont
want others alone to be linked how can i do this
pls help me out
thanx
LIN
this
<ItemTemplate>
<tr class="datagriditemstyle">
<td width="400"> <a href="<%# "http:\\" &
Server.UrlEncode(Container.DataItem("RefSiteName"))%>"><%#Container.DataItem
("RefsiteName")%></a> </td>
<td width="68"><%#Container.Dataitem("NoofRefers")%></td>
<td width="68"><%#Container.Dataitem("NoofRefers %")%>%</td>
</tr>
</ItemTemplate>
as u see my first row is a hyperlink row so all items displayed in tht row
are hyperlinked ..now when i have to check if the item in tht hyperlink row
is "others" then i shld not hyperlink it otherwise i shld for eg
my repeater will look like this
google 10 10%
yahoo 10 10%
others 80 80%
as per my code all the items in the sitename field will be linked but i dont
want others alone to be linked how can i do this
pls help me out
thanx
LIN