protected void searchButton_Click(object sender, EventArgs e) { string searchIMEI = inputIMEI.Value; Mobile aMobile = new Mobile(); MobileManager mobileManager = new MobileManager(); aMobile = mobileManager.GetMobileByIMEI(searchIMEI); modelNameLabel.Text = aMobile.ModelName; imeiLabel.Text = aMobile.IMEI; priceLabel.Text = aMobile.Price.ToString(); inputIMEI.Value = String.Empty; }