經安全檢測,此網站為安全網站,請放心前往原始網址!

How to hide columns in an ASP.NET GridView with auto-generated columns? - Stack Overflow

GridView1.Columns.Count is always zero even SqlDataSource1.DataBind(); But Grid is ok I can do for (int i = 0; i < GridView1.HeaderRow.Cells.Count;i++) ... @Eran the GridView's columns might be auto-generated and they want to hide a particular column. For

stackoverflow.com

網址安全性掃描由 google 提供