ASP.NET C# DataBind RadioButtonList from DataTable with Multiple Field(sarin.mobi)

submitted by sathaisathai(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.

add a comment |category: |Views: 167

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story