title: Use Radio Buttons instead of DropDownList
body: <p>Currently I am able to dynamically populate <code>@Html.DropDownList()</code> from a dataset. The code below works fine for this. </p>
  
  <p><strong>CONTROLLER</strong></p>
  
  <pre><code>public static IEnumerable&lt;SelectListItem&gt; myList
      {
          get
          {
              ReportAPI.ReportsAPI ws = new ReportAPI.ReportsAPI();
              DataSet ds = ws.GetReportDataSet(userguid, reportguid);
              DataTable dt = ds.Tables[0];
  
              List&lt;SelectListItem&gt; list = new List&lt;SelectListItem&gt;();
              foreach (DataRow dr in dt.Rows)
              {
                  list.Add(new SelectListItem
                  {
                      Text = dr["text"].ToString(),
                      Value = dr["value"].ToString(),
                  });
              }
              return list;
          }
      }
  
  public ActionResult NewSubscriber()
      {
  
          ViewData["subscriptionplanx"] = myList;
  
          return View();
      }
  </code></pre>
  
  <p><strong>VIEW</strong></p>
  
  <pre><code>@Html.DropDownList("subscriptionplanx")
  </code></pre>
  
  <p>Now, instead of using a DropDownList, I want to use radio buttons instead. How would I do this?</p>