Last post Sep 17, 2011 06:56 PM by stevex33
Sep 17, 2011 06:36 PM|stevex33|LINK
I'm about to try and build a user control to retrieve articles from the database and display a short snippet of about 100 characters maybe more.
I'll need to iterate through all appropriate records and put them into a customized format (an HTML list is most likely I imagine).
Should I go about it this way, or is a particular data control (Like a repeater) more appropriate, please mention why as well incase I've missed something out.
Sep 17, 2011 06:42 PM|XIII|LINK
I would make use of a data control like for example the repeater or datalist. With a repeater control you can iterate over data and make a customized format. All you need is inside the box by default.
Sep 17, 2011 06:56 PM|stevex33|LINK
great, thanks a lot.
I might go with a datalist as it seems like by default I'll have to do a little less work, if I did decide the go with an html list, I'd probably go with the repeater control.