Click here to Skip to main content
15,905,558 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to get beautiful gridview template and how to search beautiful gridview template.Please give me a way to get them.Help me.Thanks!!!!!
Posted
Updated 8-Jan-14 23:00pm
v2
Comments
Tom Marvolo Riddle 9-Jan-14 4:45am    
Don't Repost[^]

 
Share this answer
 
use this css class

CSS
.rounded_corners
    {
        border: 1px solid Black;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        overflow: hidden;
    }
    .rounded_corners td, .rounded_corners th
    {
        border: 1px solid Black;
        font-family: Arial;
        font-size: 10pt;
        text-align: center;
    }
    .rounded_corners table table td
    {
        border-style: none;
    }


then set "rounded_corners" as your grid view css class, use following tag before
as
XML
</Columns>
            <HeaderStyle BackColor="#009900" ForeColor="Black" Height="30px" CssClass="gridheader"/>
            <RowStyle BackColor="#FFD0AF" />
            <AlternatingRowStyle BackColor="#BCF5A9" />
    </asp:GridView>
 
Share this answer
 
v2
You have already got many templates in gridview which are in built. Click on smart tag and then Auto Format option. you will be having multiple templates already defined.

But if you want any other template for ur gridview, you can do so by CSS, Some CSS are available online and if can create your own then it will be good :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900