Valhalla Legends Forums Archive | Web Development | ASP.NET - repeating data?

AuthorMessageTime
St0rm.iD
I am converting http://hwx.no-ip.info:8090/lescord/ to ASP.net. How do I do repeating news data from a database? I don't see a way to do that without going classic ASP style.
August 16, 2004, 1:24 AM
peofeoknight
Well, like I said on aim, I prefer to use the asp.net repeater control.
http://www.asp101.com/articles/john/repeater/default.asp Is a good little explantion on how to use it. You basically have a replate that repeats and the data within the little template is swapped out each time.
August 17, 2004, 12:16 PM
Myndfyr
I like to approach design issues with an n-tier structure, so I usually create middle-tier objects (between the data and layout) that either render their own HTML or create their own controls.
August 18, 2004, 1:01 AM
peofeoknight
[quote author=MyndFyre link=board=22;threadid=8176;start=0#msg76088 date=1092790903]
I like to approach design issues with an n-tier structure, so I usually create middle-tier objects (between the data and layout) that either render their own HTML or create their own controls.
[/quote] The repeater simply outputs the data though. Its not much more then a loop the response.writes out the next value in a data set. It gives you complete control over the html. Thats why I love it.
August 18, 2004, 2:51 AM

Search