开发者

binding html radio buttons

开发者 https://www.devze.com 2022-12-21 16:38 出处:网络
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.

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") %>'

0

精彩评论

暂无评论...
验证码 换一张
取 消