I would like to use an <asp:Repeater> tag to display a list of news
items. The News items are coming from a sql server 2005 database with:
ID (int) pk
Title (varchar)
Story (varchar)
PublishDate (datetime)
ExpireDate (datetime)
link (varchar)
I would like to display using template. I would however, put an <a
href> tag in between the <li> if the Link item isn't null. I would
also like to set the css on the <li> table if the publish date is
today... I am really lost on this one though. Any links or insight
would be appreciated
<ul>
<li></li>
</ul>
Protected Sub IntronNewsItems_ItemCommand(ByVal source As Object,
ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles
IntronNewsItems.ItemDataBound
'Do something
End Sub