Tuesday, October 16, 2007

How to Change the Datagrid/Gridview grid lines color in C# ASP.Net

After Binding the datasource add the below line.

Datagrid1.Attributes.Add("bordercolor","black");
GridView1.Attributes.Add("bordercolor","black");

No comments:

 
Feedback Form