写个项目,从数据库中获得的数据绑定值Checkbox,绑定方法如下
//加班设置数据绑定
protected void CheckBoxBind()
{
OverTimeBLL overTimeBll = new OverTimeBLL();
List overTimeList = new List();
overTimeList = overTimeBll.GetAll();
if (overTimeList.Count > 0)
{
//绑定页面信息
txtID.Text = o
2021-08-27 13:39:04
36KB
c
默认
1