示例#1
0
 protected void DDLOficina_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (DDLOficina.SelectedIndex != 0)
     {
         string test = DDLOficina.Text;
         UserApiSave.UserAPISoapClient API = new UserApiSave.UserAPISoapClient();
         ArrayOfString datos = API.Asientos(DDLOficina.Text);
         DDLAsiento.DataSource = null;//for clean previous data on combobox
         DDLAsiento.DataSource = datos;
         DDLAsiento.DataBind();
     }
 }