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.
如何在 SharePoint2010 中为 DropDownList 添加 SelectedIndexChanged 事件?
如果YourDropDownList是DropDownList:
YourDropDownList
DropDownList
YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function);
your_handling_function是事件触发的方法:
your_handling_function
public void your_handling_function(object sender, EventArgs e)