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.
我有一个绑定到存储过程的组合框
点击事件按钮删除选择的任何一年,因为我可以确认该记录实际上已在数据库的后端删除。但删除后组合框不会刷新,仍然显示旧记录。有任何想法吗?
您需要再次查询数据并combo.DataBind()自己调用或删除该项目。
combo.DataBind()