private void cmb_Nozzels_SelectedIndexChanged(object sender, EventArgs e) { if (commonFunctions.ToInt(cmb_Nozzels.SelectedValue.ToString().Trim()) > -1) { decimal val = CustomeRepository.GetNozzelFuelPrice(commonFunctions.ToInt(cmb_Nozzels.SelectedValue.ToString().Trim())); txt_price.Text = val.ToString(); decimal val2 = CustomeRepository.GetNozzelTotalizerReading(commonFunctions.ToInt(cmb_Nozzels.SelectedValue.ToString().Trim())); txt_creading.Text = val2.ToString(); } }