• Welcome to Valhalla Legends Archive.
 

ASP.NET - repeating data?

Started by Banana fanna fo fanna, August 15, 2004, 08:24 PM

Previous topic - Next topic

Banana fanna fo fanna

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.

quasi-modo

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.
WAR EAGLE!
Quote(00:04:08) zdv17: yeah i quit doing that stuff cause it jacked up the power bill too much
(00:04:19) nick is a turtle: Right now im not paying the power bill though
(00:04:33) nick is a turtle: if i had to pay the electric bill
(00:04:47) nick is a turtle: id hibernate when i go to class
(00:04:57) nick is a turtle: or at least when i go to sleep
(00:08:50) zdv17: hibernating in class is cool.. esp. when you leave a drool puddle

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

quasi-modo

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.
WAR EAGLE!
Quote(00:04:08) zdv17: yeah i quit doing that stuff cause it jacked up the power bill too much
(00:04:19) nick is a turtle: Right now im not paying the power bill though
(00:04:33) nick is a turtle: if i had to pay the electric bill
(00:04:47) nick is a turtle: id hibernate when i go to class
(00:04:57) nick is a turtle: or at least when i go to sleep
(00:08:50) zdv17: hibernating in class is cool.. esp. when you leave a drool puddle