aspx_beginners thread: asp:repeater calling subroutine
I want to call a subroutine within a repeater that passes a value from the
database. I've been fiddling around with the syntax and can't get it to
work.Here is my latest attempt:
<ItemTemplate>
<tr>
<td><asp:LinkButton Runat="Server" OnClick="DisplayWorks(" & <%#
Container.DataItem("CompID")%> & ")">
<%# Container.DataItem("LastName") %>
</asp:LinkButton></td>
<td><%# Container.DataItem("FirstName") %></td>
</tr>
</ItemTemplate>
Can anyone help?
Jude
|





