I have a gridview with AutoGenerateDeleteButton

And I export this gridview just this code.
Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename=Avukat.xls"); Response.Charset = ""; Response.ContentType = "application/vnd.xls"; System.IO.StringWriter stringWrite = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); GridView1.RenderControl(htmlWrite); Response.Write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"); Response.Write(stringWrite.ToString()); Response.End();
No problem with that.
But excel has a delete column :))

How to delete delete column in excel?
Soner gรถnรผl
source share