datarepeater solution needed

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi,
I'd like to build a blog system and I'm using the asp:repeater object to
show my posts.
I have a simple table with:
id | title | body | datetime | author | category
and I like to retreive data grouped by datetime (a group of messages for
every day).

How can I have an asp:repeater object that show the datetime only one time
for every group of messages having the same date.day?
-----------
01 march
------------
message 1
message 2
-----------
29 february
------------
message 1

I'm triyng to parse the itemCreated event using a temp datetime variable to
match every time with the next one (my query order results by date), is
there a more elegant anf functionally solution?
Thanks,
Joe
 
Back
Top