Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对将数据库中的值填充到 asp.net 中的下拉列表有疑问。
我正在使用名称空间->
using MySql.Data.MySqlClient;
我如何在页面加载时绑定下拉列表?我还想从下拉列表中检索值以在文本控件中显示数据。任何人都可以提出帮助吗?
我想你正在寻找这样的东西:
http://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html