05 2011 档案

为学ASP刚开通了blog
摘要:看了 朱晔的《ASP.NET第一步》, 其中一个数据绑定一直没搞定, 于是就上来了。具体情况是这样的, 我对RadioButtonList进行了数据绑定, 但总是取不到选择的值, SelectedIndex总是为-1, 好像从来没选中过...以下是建立数据源代码1 DirectoryInfo di = new DirectoryInfo(@"F:\");2 DirectoryInfo[] DataSource4 = di.GetDirectories();绑定到控件// RadioButtonList 数据绑定RadioButtonList1.DataSource = Da 阅读全文

posted @ 2011-05-21 22:56 真不是Geek 阅读(286) 评论(6) 推荐(0)

导航