Esempio n. 1
0
 protected void DoublePrice_Click(object sender, EventArgs e)
 {
     // Double the prices
     DoublePricesDataSource.Update();
     // Refresh RecentProducts
     RecentProducts.DataBind();
     // Raise the PricesDoubled event
     base.OnPricesDoubled(EventArgs.Empty);
 }
Esempio n. 2
0
 public override void RefreshRecentProductsGrid()
 {
     RecentProducts.DataBind();
 }