The only code on the page is a DataList as follows:
<asp:DataList id="dataListRants" runat="server">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<asp:Image id="dataListImageAvatar" runat="server" ImageUrl="./images/UserAvatar.aspx?uid=<%# DataBinder.Eval(Container.DataItem, 'UID') %>">
</asp:Image><br>
<asp:Label id="dataListLabelUsername" runat="server" CssClass="BodyText">
<a href="mailto:<%# DataBinder.Eval(Container.DataItem, 'Email') %>" class="GenericLinkSmall">
<%# DataBinder.Eval(Container.DataItem, "Username") %>
</a>
</asp:Label>
</td>
<td>
<asp:Label id="dataListLabelTitle" runat="server" CssClass="BodyText" Font-Bold="True">
<%# DataBinder.Eval(Container.DataItem, "Title") %>
</asp:Label><br>
<asp:Label id="dataListLabelDate" runat="server" CssClass="BodyText" Font-Size="6pt">
<%# DataBinder.Eval(Container.DataItem, "Date", "{0:D}") %>
</asp:Label>
</td>
</tr>
<tr>
<td colspan="2">
<asp:label id="dataListLabelBody" runat="server" CssClass="BodyText">
<%# DataBinder.Eval(Container.DataItem, "Body") %>
</asp:label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
And the only code in the code-behind is as follows:
private void Page_Load(object sender, System.EventArgs e)
{
DataSet dataSetRants = Global.serviceRants.ViewRants();
dataListRants.DataSource = dataSetRants;
dataListRants.DataBind();
}I'm using Mono 1.0.6 with Apache 1.3.33. Any ideas what might be causing something like this? Is there something wrong with the data bindings in my page controls?
Regards, David P. Donahue [EMAIL PROTECTED] _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
