开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜