ASP.NET C# DataBind RadioButtonList from DataTable with Multiple Field(sarin.mobi)
submitted by
sathai(262) 3 years, 6 months ago
I have been trying to DataBind multiple fields into the RadioButtonList DataTextField from my DataTable, by default this property only accept 1 column using its column name as the primary key. But if I want to concate multiple column, then what do I do? Well after be playing around with this logic, I found that you manually add ListItem to the RadioButtonList, is where you can manual add your DataTextField end results directly into the ListItem.Text property field.
|category: ASP.NET
|Views: 167
tags:
ASP.NET another
Everyones tags:
Your Tags: