473,395 Members | 1,383 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

2-column list with break on change in value

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
Feb 15 '08 #1
1 1315
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/ch...webcontrol.asp
"Paul S" <pa*@community.nospam写入消息
news:93**********************************@microsof t.com...
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
Feb 15 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: praba kar | last post by:
Dear All In Php we can find in_array() function which function is mainly useful to check whether a specific value is exist in the array or not. But In python In cannot find any function like...
7
by: Woodster | last post by:
Further to a question I posted here recently about coding an xml rpeort parser, I need to use a list of name/value pairs, in this case, a list property names and values for a given tag. Rather...
4
by: Ruel | last post by:
Is there an equivalent to the "Break When Value is True" Watch option in .NET. I have yet to discover it.
1
by: Tim Begin | last post by:
I am attempting to use the ThreadPool.SetMinThreads method as shown in the MSDN example code: int minWorker, minIOPort; int newWorker,newIOPort; ThreadPool.GetAvailableThreads(out minWorker, out...
1
by: jwright1 | last post by:
I am trying to set the selected value of a radio button list from a value stored in a table of a database. using vb codebehind asp.net. I tried binding the selected index item and selected index...
3
by: John Smith | last post by:
I'm looking into this peace of code: protected void DropDown_SelectedIndexChanged(object sender, EventArgs e) { DropDownList list = (DropDownList)sender; TableCell cell = list.Parent as...
2
by: John Smith | last post by:
Will this line of the code: item.Cells.Text = "Some text..."; change only DataGrid visual value or it will also change value in the DataSource? How can I change value in DataSource? ...
0
by: marknoten | last post by:
Hi, we are working with XML files that can be as big as 6Mb. Some XML documents that obey to a certain condition must be duplicated where only 2 elements need to change value. I thought using...
45
by: Zytan | last post by:
This returns the following error: "Cannot modify the return value of 'System.Collections.Generic.List<MyStruct>.this' because it is not a variable" and I have no idea why! Do lists return copies...
4
by: APEJMAN | last post by:
I am trying to write a function to find(x) -- Searches through the list for the value x and returns an Iterator pointing to the first node containing value x. If x is not found in the list, it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.