Click here to Skip to main content
15,885,925 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
who will be the next pm?

1. Modi

2.rahul

3 Arvind

here options are saved in database column those are option1,option2,option3.

i want to populate radiobuttonlistitem from these column.but how can we do this?
i have been solving this since 12 pm but i didn't find that so please help me?

radiobuttonlist is in gridview.
Posted

1 solution

See the example Populate and save ASP.Net RadioButtonList with Selected Value in Edit ItemTemplate of GridView[^].

Inside RowDataBound of GridView, execute Query and get the Items and Bind that RadioButtonList.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900