Wednesday 29 June 2011

Remove Border from Gridview and DataGrid

GridView and DataGrid have default Function to Applie All the Rules: How We can Remove the All rules from the Gridview and How We can Remove Border from the Gridview and DataGrid.

 Following Error in Most of the Case :

 

Because  of All rules apply to Gridview and Datagrid Control. We have to Manually Remove the Border with Following Property.

 
And You can Define Attributes of Grid view Control :

    Grid.Attributes.Remove("rules");

Hope this article useful  to All.

No comments:

Post a Comment