示例#1
0
        protected void DDLAsiento_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (DDLOficina.SelectedIndex != 0)
            {
                if (DDLAsiento.SelectedIndex != 0)
                {
                    UserApiSave.UserAPISoapClient API = new UserApiSave.UserAPISoapClient();
                    ArrayOfString features            = API.seats(Convert.ToInt16(DDLAsiento.Text));

                    ChkFijo.Checked     = Convert.ToBoolean(features[0]);
                    ChkPhone.Checked    = Convert.ToBoolean(features[1]);
                    ChkMonitor.Checked  = Convert.ToBoolean(features[2]);
                    ChkKM.Checked       = Convert.ToBoolean(features[3]);
                    ChkEspecial.Checked = Convert.ToBoolean(features[4]);
                }
            }
        }