JavaScript,
2012-10-19
JavaScript,
我們想要以下效果:
代碼:
nsDataSet.BindListControl("stp_DDLYearType", Me.rblYearType, enDropDownListType.Other)
nsDataSet.BindListControl("stp_DDLYearType", Me.ddlYearType, enDropDownListType.All)
說明:
BindListControl是自定義Function,
只需3個parameters分別是 StoredProcedure, ListControl, 自定義選項(本例子用了其他,全部)
無論以後有什麼其他ListControl的需求, 可以很快就做好功能.
摘要:我的工作方法-3
摘要:我的工作方法-2
摘要:我的工作方法-1