M
mj.redfox.mj
Hi
I'm fairly new to ASP.NET and realise I'm probably asking a very
straightforward question, sorry about that but I'd be grateful if
someone could possibly help out - I'm sure the answer will turn out to
be very easy!
I'm trying to basically do the following (in reality there is a lot
more code in between the table rows, such as the cells and their
contents, but I'm only posting the structure here as that's the
relavant bit):
<asp:Table>
<asp:TableRow>
</asp:TableRow>
<asp:TableRow>
</asp:TableRow>
<asp:TableRow>
</asp:TableRow>
<asp:Repeater ID="rep1" runat="server">
<ItemTemplate>
<asp:TableRow>
</asp:TableRow>
</ItemTemplate>
</asp:Repeater>
</asp:Table>
Unfortunately, the parser doesn't like the repeater being where it is
- however I definitely need to use a repeater here, as I've got some
other non-repeating stuff to include in the first few table rows (a
basic data grid with just one header row wouldn't even begin to
accommodate what I need for this). If anyone could suggest how I can
get the above code to compile I'd be very grateful!
I'm fairly new to ASP.NET and realise I'm probably asking a very
straightforward question, sorry about that but I'd be grateful if
someone could possibly help out - I'm sure the answer will turn out to
be very easy!
I'm trying to basically do the following (in reality there is a lot
more code in between the table rows, such as the cells and their
contents, but I'm only posting the structure here as that's the
relavant bit):
<asp:Table>
<asp:TableRow>
</asp:TableRow>
<asp:TableRow>
</asp:TableRow>
<asp:TableRow>
</asp:TableRow>
<asp:Repeater ID="rep1" runat="server">
<ItemTemplate>
<asp:TableRow>
</asp:TableRow>
</ItemTemplate>
</asp:Repeater>
</asp:Table>
Unfortunately, the parser doesn't like the repeater being where it is
- however I definitely need to use a repeater here, as I've got some
other non-repeating stuff to include in the first few table rows (a
basic data grid with just one header row wouldn't even begin to
accommodate what I need for this). If anyone could suggest how I can
get the above code to compile I'd be very grateful!