我在 ASP.net 页面中有一个名为 (DDL) 的 DropDownList,我希望 DDL 包含数据库中某个表的一些记录。
所以我这样做了:
DDL.DataSource = myDataReader
DDL.DataBind()
但它给了我(5条记录)“表的记录数”,但像这样:
System.Data.Common.DataRecordInternel
System.Data.Common.DataRecordInternel
System.Data.Common.DataRecordInternel
System.Data.Common.DataRecordInternel
System.Data.Common.DataRecordInternel