Ejemplo n.º 1
0
 //Edit PromoGridView
 protected void EdGV1(object sender, GridViewEditEventArgs e)
 {
     PromoGridView.EditIndex  = e.NewEditIndex;
     PromoGridView.DataSource = BusinessLogic.Promos();
     PromoGridView.DataBind();
 }
Ejemplo n.º 2
0
 //Unhide PromoGrid & bind data
 protected void PromoAmend_Click(object sender, EventArgs e)
 {
     PromoGridView.DataSource = BusinessLogic.Promos();
     PromoGridView.DataBind();
     PromoGridView.Visible = true;
 }
Ejemplo n.º 3
0
 //Unhide DiscountGrid & bind data
 protected void DiscountAmend_Click(object sender, EventArgs e)
 {
     DiscountGridView.DataSource = BusinessLogic.CDiscount();
     DiscountGridView.DataBind();
     DiscountGridView.Visible = true;
 }
Ejemplo n.º 4
0
 //Edit DiscountGridView
 protected void DiscountGridView_RowEditing(object sender, GridViewEditEventArgs e)
 {
     DiscountGridView.EditIndex  = e.NewEditIndex;
     DiscountGridView.DataSource = BusinessLogic.CDiscount();
     DiscountGridView.DataBind();
 }