示例#1
0
        public static void SetLists2(System.Web.UI.WebControls.DropDownList myListControl, System.Web.UI.WebControls.DropDownList myListControl2, string operate, string userID, string vPara1, string vPara2, string vPara3)
        {
            List <MyListItem> myList        = new List <MyListItem>();
            DataAccessLay     dataaccesslay = new DataAccessLay();

            myList = dataaccesslay.GetLists("SchoolListP", userID, vPara1, vPara2, vPara3);
            AssemblingSchoolList(myListControl, myListControl2, myList);
        }
示例#2
0
        public static void SetLists(System.Web.UI.WebControls.DropDownList myListControl, string operate, string userID)
        {
            List <MyListItem> myList        = new List <MyListItem>();
            DataAccessLay     dataaccesslay = new DataAccessLay();

            myList = dataaccesslay.GetLists(operate, userID);
            AssemblingSchoolList(myListControl, myList);
        }