O'Reilly logo

Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit by Scott Mitchell

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

Chapter 17. Working with Data-Bound DropDownLists, RadioButtons, and CheckBoxes

<feature><title></title>

In this hour, we will cover

  • Populating the items of a drop-down list with the results from a database query

  • Creating check boxes and radio buttons based on the results of a database query

  • Using the DropDownList control to filter the contents displayed in a GridView

  • The benefits of using database information versus hard-coding drop-down list, check box, and radio button values

</feature>

As we’ve seen over the past three hours, the data source controls enable us to easily work with database data. We simply specify what table and columns we want to work with and whether we need corresponding INSERT, UPDATE, and DELETE statements. When a data source ...

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