Beispiel #1
0
 private void BuildAmphur()
 {
     //เขต/อำเภอ
     cmbAmphur.DataSource     = SlmScr010Biz.GetAmphurDataNew(SLMUtil.SafeInt(cmbProvince.SelectedItem.Value));
     cmbAmphur.DataTextField  = "TextField";
     cmbAmphur.DataValueField = "ValueField";
     cmbAmphur.DataBind();
     cmbAmphur.Items.Insert(0, new ListItem("", ""));
 }
Beispiel #2
0
 private void SetDAmphur()
 {
     BuildCombo(cmbDAmphur, SlmScr010Biz.GetAmphurDataNew(SLMUtil.SafeInt(cmbDProvince.SelectedValue)));
 }