阅读背景:

是否可以将多个列绑定到DropDownList的DataTextField?

来源:互联网 

The following is my code...

以下是我的代码......

DropDownList2.DataSource = td.DataSet DropDownList2.DataSource = td DropDownList2.DataTextField = td.Columns("Name").ColumnName.ToString DropDownList2.DataValueField = td.Columns("VendorCode").ColumnName.ToString DropDownList2.DataBind()D




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: