checkBoxList
来源:互联网 发布:手机版五笔打字软件 编辑:程序博客网 时间:2024/05/11 22:04
// C#
private void Page_Load(object sender, System.EventArgs e)
{
if (! this.IsPostBack)
{
sqlConnection1.Open();
sqlCommand1.CommandText = "Select au_id, au_lname from authors";
ListBox1.DataSource = sqlCommand1.ExecuteReader();
ListBox1.DataTextField = "au_lname";
ListBox1.DataValueField = "au_id";
ListBox1.DataBind();
sqlConnection1.Close();
}
}
private void Page_Load(object sender, System.EventArgs e)
{
if (! this.IsPostBack)
{
sqlConnection1.Open();
sqlCommand1.CommandText = "Select au_id, au_lname from authors";
ListBox1.DataSource = sqlCommand1.ExecuteReader();
ListBox1.DataTextField = "au_lname";
ListBox1.DataValueField = "au_id";
ListBox1.DataBind();
sqlConnection1.Close();
}
}
- checkBoxList
- CheckBoxList
- CheckBoxList
- CheckBoxList
- checkboxlist 全选
- CheckBoxlist 问题
- 自定义CheckBoxList
- checkboxlist 赋值!
- checkboxlist标签
- asp:CheckBoxList
- CheckBoxList用法
- override checkboxlist
- checkboxlist 标签
- CheckBoxList用法
- 便利CheckBoxList
- s:checkboxlist
- Silverlight CheckBoxList
- Struts--checkboxlist
- 用XML来保存图片
- 软件测试的14种类型(zt)
- java.util包(一)
- java.util包(二)
- 一段wml,实现表单提交的
- checkBoxList
- 中国上3G
- Spring AOP: Spring之面向方面编程
- - Statement
- Oracle 9i 预设密码
- JSP实用篇
- NUnit2.0详细使用方法
- 男人必看的5个故事
- Java用户界面本地化实例探索 ,读取资源包