I have a DataList that generates two columns:
The output looks like this:
Alaska [checkbox] Kentucky [checkbox]
Arizona [checkbox] Maine [checkbox]
Arkansas [checkbox] Michigan [checkbox]
...... .......
Each of the two columns need to have its own heading:
State Active State Active
Any ideas?
Code:
<asp:DataList ID="myList" runat="server" DataKeyField="ID" RepeatColumns="2" RepeatDirection="Horizontal" RepeatLayout="flow" Width="100%">
Alaska [checkbox] Kentucky [checkbox]
Arizona [checkbox] Maine [checkbox]
Arkansas [checkbox] Michigan [checkbox]
...... .......
Each of the two columns need to have its own heading:
State Active State Active
Any ideas?