Gridview with no header?

B

Benton

Hi there,

As subject, how can I set a gridview to show no header at all?

Thanks,

-Benton
 
K

Ken Cox - Microsoft MVP

Did you mean like this?

GridView1.ShowHeader = False

Ken
Microsoft MVP [ASP.NET]
 
Joined
May 11, 2008
Messages
1
Reaction score
0
in aspx

or you can just put it in aspx file
<asp:GridView ID="grvDeduction" runat="server" ShowHeader="false">
 

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

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top