Example #1
0
 /**
  * method btnManyContact_Click
  * gets the list of Customers contacted over
  * 2 times within the last week
  * and fills the repeater
  */
 protected void btnManyContact_Click(object sender, EventArgs e)
 {
     CustomerCollection cc = new CustomerCollection();
     if (!cc.getRecentActiveCustomer())
     {
         //error
         lblError.Text = cc.errorMessage;
         lblError.Visible = true;
     }
     else
     {
         refreshCustomerList(cc);
     }
 }