示例#1
0
 protected void btnEmpty_Click(object sender, EventArgs e)
 {
     if (cart.Count > 0)
     {
         cart.RemoveAll();
         lstCart.Items.Clear();
     }
 }