Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
protected void grdPriceList_RowDeleting(object sender, GridViewDeleteEventArgs e) { var dataKey = grdPriceList.DataKeys[e.RowIndex]; if (dataKey != null) { int productPriceId = (int)dataKey.Value; Controller.DeleteProductPrice(productPriceId); } grdPriceList.DataSource = ProductPrices; grdPriceList.DataBind(); }