Beispiel #1
0
        public string amphur1(string province)
        {
            amphurModel amphur = new amphurModel();

            return("<select id='select_amphur1' name='select_amphur1' class='form-control select2' onchange='myFunction_amphur1()' style='width:100%'><option>เลือกเขต/อำเภอ</option>" + amphur.getamphur(province) + "</select>");
        }
Beispiel #2
0
        public string getAmphur(string id)
        {
            amphurModel amphur = new amphurModel();

            return(amphur.getamphur(id));
        }