2-column list with break on change in value

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
 
T

tian

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,528
Latest member
AnaHawley8

Latest Threads

Top