J
Jeff
Hey
asp.net 2.0
Below are some code I have 2 problems with.
problem 1:
The items get listed on the same line. I thought each item returned from the
datasource was added to a seperate line in the repeater... (like this: "item
1 item 2") Something must be wrong with how I set this up
problem 2:
The background of the cell is white despite <td bgcolor=blue>
<asp:SqlDataSource
ID="SqlDataSource1"
runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DataSourceMode="DataReader"
SelectCommand = "SELECT UserName from aspnet_Users">
</asp:SqlDataSource>
<asp:Repeater ID="rptInbox" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
<tr>
<td bgcolor=blue> <%# Eval("UserName") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>
Any ideas what I should do to fix this?
Jeff
asp.net 2.0
Below are some code I have 2 problems with.
problem 1:
The items get listed on the same line. I thought each item returned from the
datasource was added to a seperate line in the repeater... (like this: "item
1 item 2") Something must be wrong with how I set this up
problem 2:
The background of the cell is white despite <td bgcolor=blue>
<asp:SqlDataSource
ID="SqlDataSource1"
runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DataSourceMode="DataReader"
SelectCommand = "SELECT UserName from aspnet_Users">
</asp:SqlDataSource>
<asp:Repeater ID="rptInbox" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
<tr>
<td bgcolor=blue> <%# Eval("UserName") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>
Any ideas what I should do to fix this?
Jeff