这里我是添加动态网格视图,这里是如何使用Asp.Net C#动态更改网格视图的GridLines。 感谢...
myGrid.DataSource = dt;
myGrid.DataBind();
myGrid.GridLines = "Vertical"; // Here Not Working
myGrid.Width = 1000;
输出:
__________________________________________________________________
Location Category Total
_________________________________________________________________
a Cat1 2
_________________________________________________________________
b Cat2 4
_________________________________________________________________
c Cat3 3
_________________________________________________________________