binding html radio buttons
I have a list of input type radio buttons in formview (edit mode) and i want to bind data from datasource that is assigned to formview. Can i bind html rad开发者_运维问答io buttons using sql datasource?
All controls can be bound with a SQL datasource, as they all inherit from Control
where it defined.
Here are a couple of articles describing how to bind RadioButtonList
.
i was looking to bind input radio type you can do that using checked='<# Bind("Selected") >' and using runat="server" Note: my rdb list is in data controls
i used selected = '<% Bind("xyz") %>'
精彩评论