About the author

Vijay Kodali
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2024

Hide GridView AutoGenerate Columns

            //hide header column
            GridView1.HeaderRow.Cells[0].Visible = false;

            //hide column in data rows
            foreach (GridViewRow row in GridView1.Rows)
            {
                row.Cells[0].Visible = false;
            }

Categories: ASP.NET | ASP.Net 3.5
Posted by vijay on Thursday, March 26, 2009 8:37 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading