troubleshooting Question

Changing the font for DataGRId header in ASP.NET

Avatar of g46905
g46905 asked on
Fonts TypographyASP.NET
57 Comments1 Solution1532 ViewsLast Modified:
I am trying to change the font to BOLD for the header part of the datagrid.I have tried to change the property in the property window of the datagrid to make this change.It looks like it is being overwritten by the style sheet.How do I change this in the code.Below is the code where I am displaying the data in the datagrid.

Dim datView As DataView = New DataView(dsGifts.Tables(0))
            DataGrid1.DataSource = datView
            DataGrid1.DataBind()

Could you please help me with this?

Thanks,
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 57 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 57 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros