Exemplo n.º 1
0
        //
        public void route_and_bustime_combo_loader()
        {
            methods m      = new methods();
            string  sql    = "Select Distinct Road.[Route Name] from Road";
            string  member = "Route Name";

            m.combobox_loader(combo_route, sql, member);
            m.combobox_loader(combo_route1, sql, member);
            sql    = "Select Distinct Shedule.S_Time from Shedule;";
            member = "S_Time";
            m.combobox_loader(combo_bustime, sql, member);
            m.combobox_loader(combo_bustime1, sql, member);
        }