-
Radio list Problem
I am trying to populate a radio list and this will be my first radio list. :wave:
I am populating everything from a sql2000 database all is well with my dropdowns; however, i am haveing a time tring to get the RadioList to populate.
I was assuming that a radio list would populate like a dropdown, but i guess im wrong.
I HAVE the radMountOption.DataTextField
& the
radMountOption.DataValueField
set already, do i still need to set the html so kind of way?
Here is what i have (And by the way i am only have two options for the radio list, so it is not like i am trying to pull the entire database off of the server). :wave:
===========My Radio List==========================
If dsMount.Tables("Mounting Option").Rows.Count = 0 Then
radMountOption.Visible = False
lblMount.Visible = False
Else
radMountOption.DataSource = dsMount
radMountOption.DataMember = "Mounting Option"
radMountOption.DataTextField = "AttributeName"
radMountOption.DataValueField = "AttributeName"
End If
=============-================================
=================My dropdowns===== +==they are fine=======
If dsQty.Tables("Quanity").Rows.Count = 0 Then
ddlQty.Visible = False
lblQty.Visible = False
Else
ddlQty.DataSource = dsQty
ddlQty.DataMember = "Quanity"
ddlQty.DataTextField = "AttributeName"
ddlQty.DataValueField = "AttributeName"
End If
thanks!