The RadioButtonList control is situationally useful. Although I don’t find myself using it often, when I do need it, I have to look up the basic functionality and how to apply it. This has led me to write this article as a guide and a code-reference.
Set up the WebForm
For starters, drag and drop a DataSource onto your Web form. In my case I will use a SQLDataSource and I will populate its Select, Update, and Delete commands with stored procedures I have created. My goal is to create a RadioButtonList that lists saved default searches for a user and to add a LinkButton control to use as a general delete button.
The following snippet illustrates adding the SQLDataSource: