protected void gvProductType_RowDeleting(object sender, GridViewDeleteEventArgs e) { int productid = Convert.ToInt32(gvProductType.DataKeys[e.RowIndex].Value); OfferPriceInfo.DelProductType(productid); gvProductBind(); }
protected void gvProductType_RowDeleting(object sender, GridViewDeleteEventArgs e) { int productid = Convert.ToInt32(gvProductType.DataKeys[e.RowIndex].Value); OfferPriceInfo.DelProductType(productid); gvProductBind(); int OpId = Convert.ToInt32(Request["OfferPriceId"].ToString()); string str = OfferPriceInfo.GetProductMoneySum(OpId); if (str == "") { lblMoneySum.Text = "0元"; } else { lblMoneySum.Text = OfferPriceInfo.GetProductMoneySum(OpId) + "元"; } }