O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required