从数据库sqlserver填充radiobuttonlist [英] populate radiobuttonlist from database sqlserver
本文介绍了从数据库sqlserver填充radiobuttonlist的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在数据库中我有一个名为wing的列,它的值是这样的存储A,B,C,D,E
如何从数据库中检索值radiobuttonlist分开如下
.A .B .C .D .E
这里我怎么样选择任何一个值,如.D和ON BUTTON点击事件只插入.D在另一列?
i在Google上搜索了很多但没有找到像这样的例子任何人都可以帮助我
In database i have column named wing in it value is store like this A,B,C,D,E
how i can retrieve value from database into radiobuttonlist separately like below
.A .B .C .D .E
here how i can select any one value like .D and ON BUTTON click event insert only .D in another column ?
i have searched a lot on Google but didn't find example like this can anyone help me
推荐答案
你可以绑定 RadioButtonList [ ^ ]到IEnumerable的任何数据源......
You can bind RadioButtonList[^] to any data source with IEnumerable...
这篇关于从数据库sqlserver填充radiobuttonlist的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文