2-column list with break on change in value

  • Thread starter Thread starter Paul S
  • Start date Start date
P

Paul S

Hi

I want to create a list as shown here

http://www.zartorv.com/default.asp?id=45

It's a 2-column list with item's sorted on a date value. When the data value
for the items break a header showing the new date is displayed.

How can I accomplish that ?

Is it possible add formatting to a row in the 2.column list ?


Thanks
Paul S
 
Add a Repeater in your form.
User a AlternatingItemTemplate.
<Repeater>
<AlternatingItemTemplate>
<%#Eval("posttime")%>
</AlternatingItemTemplate>

<AlternatingItemTemplate>
<% GetTodayAlbum();%>
</AlternatingItemTemplate>
</Repeater>

posttime is an item in your data table and GetTodayAlbum() is a user-defined
function which can Write all information about the album today.That's not
easy.

A 2-column list is easy,you can use a Repeater, AlternatingItemTemplate can
fullfill this task.But can't print a datetime like the page given by you.

More about Repeater
http://msdn.microsoft.com/library/c...tml/vbconintroductiontorepeaterwebcontrol.asp
 
Back
Top