G
Guest
How I can remove an AutoGenerated column? I wnat to inlcude the primary key
in the resultset for creating some custom LinkButtons, but I don't want it
(the PK) displayed in the DataGrid. I tried searching the columnheader text,
but found that AutoGenerated columns are members of the Columns collection.
From the msdn documentation:
Note: When the AutoGenerateColumns property is set to true, the columns
created by the DataGrid control are not added to the Columns collection.
(http://msdn.microsoft.com/library/d...ontrolsdatagridcolumncollectionclasstopic.asp)
Anyone have any ideas?
TIA,
Steve
in the resultset for creating some custom LinkButtons, but I don't want it
(the PK) displayed in the DataGrid. I tried searching the columnheader text,
but found that AutoGenerated columns are members of the Columns collection.
From the msdn documentation:
Note: When the AutoGenerateColumns property is set to true, the columns
created by the DataGrid control are not added to the Columns collection.
(http://msdn.microsoft.com/library/d...ontrolsdatagridcolumncollectionclasstopic.asp)
Anyone have any ideas?
TIA,
Steve