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