(asp.net c#)DropDownList绑定后显示对应的项的两种方法
方法一: 实现代码 实现代码如下: DropDownList1.DataSource = listSort; DropDownList1.DataTextField = "LogSortName"; DropDownList1.DataValueField = "LogSortID"; DropDo
方法一: 实现代码 实现代码如下: DropDownList1.DataSource = listSort; DropDownList1.DataTextField = "LogSortName"; DropDownList1.DataValueField = "LogSortID"; DropDo