protected void tbxFName_OnTextChanged(object sender, EventArgs e) { if (!string.IsNullOrEmpty(tbxFName.Text.Trim())) { var bottle = GasHelper.BottleByCode(txtFCode.Text, CurrentUser.AccountComId); if (bottle != null) { tbxFBottle.SelectedValue = bottle.FBottleCode; } } }