神龙之初

导航

2004年12月14日 #

Sql2000中DateName的使用来获取年和月。

摘要: SELECT DATENAME(month, curdate)+','+DATENAME(year, curdate) as times from tdshowcase 阅读全文

posted @ 2004-12-14 17:10 David 阅读(514) 评论(0) 推荐(0) 编辑

对下拉控件的绑定

摘要: Datatable dt1 = .....(获取数据) this.DropDownList2.DataTextField = "fullName"; this.DropDownList2.DataValueField = "ID"; this.DropDownList2.DataSource =dt1; this.DropDownList2.DataBind(); 阅读全文

posted @ 2004-12-14 11:38 David 阅读(164) 评论(0) 推荐(0) 编辑