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.
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.
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 from: MyndFyre on August 17, 2004, 08:01 PM
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.
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.