views:

13

answers:

1

I want to remove particular from GridView when exporting to excel,

(i.e)

GridView1.Columns.RemoveAt(9);
exportToExcel(GridView1);

But the column does not get removed.Help please.

A: 

Hey,

Is it being removed before you call DataBind()?

Brian