Heey all
i have just startet to learn asp.net and C#
and i have run into a little problem
i have a radiobuttonlist that gets its items from sql,
then i would like to show the item i have selected not the "ID" the "name" it has.
My code
<asp:RadioButtonList ID="RadioButtonList1" runat="server"
DataSourceID="ObjShipping" DataTextField="ShippingMethod"
DataValueField="ShippingMethodID" AutoPostBack="True">
</asp:RadioButtonList>
<asp:ObjectDataSource ID="ObjShipping" runat="server"
OldValuesParameterFormatString="original_{0}" SelectMethod="GetShippingMethod"
TypeName="DataSet1TableAdapters.FL_ShippingMethodTableAdapter">
</asp:ObjectDataSource>
<asp:Label ID="lblShippingMethod" runat="server" Text=""></asp:Label>