how to hide top header of datagrid?

G

Guest

hello,

dgNameFound.Items[0].Cells[0].Visiable= false;

i'm using this to hide the items in a datagrid and it works fine... but i do
not know how to hide the header of the column. can someone please show me how
this is done?
 
A

Alvin Bruney [ASP.NET MVP]

do the same thing in the itemdatabound, except that you would be turning the
cell visibility off

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top