This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15406|Reply: 1

[ASP.NET] The GridView header font under ASP.NET is not bolded

[Copy link]
Posted on 4/3/2015 8:57:06 PM | | |

The Gridview header under asp.net doesn't work even if Font-Bold is set to false.
I looked up a lot of information on the Internet, but I didn't solve this problem properly.

In helplessness, I suddenly had a flash of inspiration, hehe. Open the page directly in IE and see its source code. All the headers are found
with tags<th>. This is easy to solve, just use CSS to solve it.

Set in CSS:
th
{
    font-weight:lighter ;
}

Hey, solved.




Previous:C# gets the number of files in the specified folder and all file sizes
Next:Response.Write outputs the specified html to the page body
 Landlord| Posted on 4/4/2015 8:23:44 PM |
A CSS style solves the problem of bolding the title
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com