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.
我有个问题。MS SQL 数据库表列数据如何加载 BunifuDropdown。正常的 C# 代码不起作用。请帮忙
使用 bunifudropdown.AddItem("");
我们只需要将常规方式转换为在 Sql 中添加值(如文本框)以从下拉列表中添加,我们通过从数组中选择值来完成!(因为下拉列表中的值存储在数组中),所以我们需要为值和所有内部(选定值)制作类似的指针。
cmd.Parameters.AddWithValue("@Level",bunifuDropdown1.selectedValue);