DropDownList 動態產生項目
default.apsx
<asp:DropDownList ID="test" runat="server" onload="School_ID_Load1">
</asp:DropDownList>
default.cs
protected void test_Load1(object sender, EventArgs e)
{
test.Items.Add("111");
}
<asp:DropDownList ID="test" runat="server" onload="School_ID_Load1">
</asp:DropDownList>
default.cs
protected void test_Load1(object sender, EventArgs e)
{
test.Items.Add("111");
}
留言
張貼留言