자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
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(); }