I have a radio button list that is populated from a db. What I want to do ishave one of the items selected when the page loads, based on selectconditions.How do I go about that? I haven't found a way to get it to select an item atall.
RadioButtonList1.SelectedValue = 2if there is a value 2 in RadioButtonList1 then it will be selected
With ddlGroup.DataSource = dsPlg.Tables("Plg").DataTextField = dsPlg.Tables("Plg").Columns(1).ToString.DataValueField = dsPlg.Tables("Plg").Columns(0).ToString.SelectedIndex = 0.DataBind()End With