I want to hide some of the columns of the gridview before printing.
For example gridview contains customerid,city and postal code.
Now i want to show city and postal code during printing.
So how can i achieve this?
Please suggest me.
Thank you
Please refer this link
this.GridView1.Columns[0].Visible = false;
Screenshot
Customer Id column is hidden in the Print Doc.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.