Replace function in DataList from vb to c#
- From: "sck10" <sck10@xxxxxxxxxxxxx>
- Date: Sat, 12 Aug 2006 11:42:48 -0500
Hello,
I am converting a DataList from vb to c#. I am having a problem converting
the Replace function to c#. Any help with this would be appreciated.
<asp:DataList id="dlstPhotoGallery" Runat="Server"
RepeatDirection="Horizontal">
<ItemTemplate>
<a href='<%# Replace(Container.DataItem,"_mini","") %>' target="_blank">
<asp:Image ID="imgPhotoGallery" ImageUrl='<%# Container.DataItem %>'
ToolTip='<%# Mid(Container.DataItem, InStrRev(Container.DataItem, "/")
+ 1) %>' Runat="Server" />
</a>
</ItemTemplate>
</asp:DataList>
</asp:Panel>
--
Thanks in advance,
sck10
.
- Follow-Ups:
- Re: Replace function in DataList from vb to c#
- From: Cowboy \(Gregory A. Beamer\)
- Re: Replace function in DataList from vb to c#
- Prev by Date: Re: Creating new window in Webpage
- Next by Date: Mid and InStrRev conversion to c#
- Previous by thread: update datagrid
- Next by thread: Re: Replace function in DataList from vb to c#
- Index(es):