/** * method btnContactCancel_Click * gets the list of rare Customers (havent been Contacted * in the last 6 months ) * and fills the repeater */ protected void btnNoContact_Click(object sender, EventArgs e) { CustomerCollection cc = new CustomerCollection(); if (!cc.getRareCustomer()) { //error lblError.Text = cc.errorMessage; lblError.Visible = true; } else { refreshCustomerList(cc); } }