PDA

View Full Version : تغییر footer یک دیتاگرید در زمان اجرا



na3er-faraji
دوشنبه 15 آذر 1389, 21:51 عصر
چرا این دستور خطا میده


protected void dg_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Footer)
dg.FooterRow.Cells[4].Text = "salam";
}