|
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsList.ascx.cs" Inherits="Controls_NewsList" %>
<table class="datatable">
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<asp:Repeater ID="listRepeater" runat="server">
<ItemTemplate>
<tr>
<td>
<a href="<%# GetViewUrl( (Eucalypto.News.Item)Container.DataItem ) %>">
<%# Server.HtmlEncode((string)Eval("Title")) %>
</a>
<div>
<small>
<%# Server.HtmlEncode(GetShortDescription((Eucalypto.News.Item)Container.DataItem)) %>
</small>
</div>
</td>
<td>
<%# Utilities.GetDisplayUser((string)Eval("Owner"))%>
</td>
<td>
<%# Utilities.GetDateTimeForDisplay( (DateTime?)Eval("NewsDate") ) %>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.