What Are List Controls?

Now back to displaying data in ASP.NET. I can sum it up like this: It’s fun for the whole family. Well, at least it’s fun for you and anyone else working in ASP.NET.

In the past, with traditional interpreted scripting languages, displaying data was one of the big creators of spaghetti code’s abundance. To display data you could either jump in and out of HTML code or you could write HTML code using ASP’s Response object’s Write() method.

Below is an example of a page written with traditional ASP. The <select box> in this page is created by having its option tags written by the Response object. The table that follows uses a example of spaghetti code where what is called “context switching” occurs. Context switching is just ...

Get ASP.NET for Web Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.