M
Michel Couche
Hello,
Normally automatic converters do a very good job at translating code between
C# and VB
I have a specific issue however that I can not solve using these converters
.... and I just can not figure out how to do it myself.
The line that causes problem is:
:
<%# ((AuthorizationRule) Container.DataItem).Action %>
It is used in the context below:
<asp:datalist id="DL_Rules" runat="server">
<itemtemplate>
Action: <asp:literal id="Literal1" runat="server"
text='<%# ((AuthorizationRule)
Container.DataItem).Action %>'/>
<itemtemplate><%# Container.DataItem %></itemtemplate>
<separatortemplate>-</separatortemplate>
</asp:repeater>
</itemtemplate>
</asp:datalist>
The source of this code is
http://www.akaas.net/asp-net-2-tutorial/Chap13.htm
Thanks in advance for your support,
Michel
Normally automatic converters do a very good job at translating code between
C# and VB
I have a specific issue however that I can not solve using these converters
.... and I just can not figure out how to do it myself.
The line that causes problem is:
:
<%# ((AuthorizationRule) Container.DataItem).Action %>
It is used in the context below:
<asp:datalist id="DL_Rules" runat="server">
<itemtemplate>
Action: <asp:literal id="Literal1" runat="server"
text='<%# ((AuthorizationRule)
Container.DataItem).Action %>'/>
<itemtemplate><%# Container.DataItem %></itemtemplate>
<separatortemplate>-</separatortemplate>
</asp:repeater>
</itemtemplate>
</asp:datalist>
The source of this code is
http://www.akaas.net/asp-net-2-tutorial/Chap13.htm
Thanks in advance for your support,
Michel