Author: dst101 | Posted on: 10/18/2010 5:57:06 AM | Views : 274

I've two RadioButtonLists which pulls "fullName" and displays, the idea is for the user to select from RadioButtonList1 and RadioButtonList2 then submit the data.
If there is already values assigned from sql then there should be a selectedvalue for both controls. But I can't seem to get the controls to assign the selectedvalues.
I've a SqlDataSource, 2 RadioButtonLists and some code binding it:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnString %>" SelectCommand="SELECT firstName + ' ' + lastName AS fullName, ID FROM tbl_users WHERE (groupName = 'Investigation Officer')"> <UpdateParameters> <asp:Parameter Name="InvestigationOfficer1" Type="String" /> <asp:Parameter Name="ID" ...

Go to the complete details ...