Thursday, February 11, 2016

Change font styles on a asp.net GridView

While defining the asp.net GridView, you can set the below font related properties to adjust as you need


    Font-Bold="True|False"
    Font-Italic="True|False"
    Font-Names="string"
    Font-Overline="True|False"
    Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|Large|X-Large|XX-Large"
    Font-Strikeout="True|False"
    Font-Underline="True|False"

Below is an example

:GridView 
 ID="GridView1" 
 runat="server" 
 Font-Names="Times New Roman" 
 Font-Size="Medium">
</asp:GridView>

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...