Error in DataGrid

rizwan

New member
Joined
Mar 7, 2005
Messages
2
Programming Experience
1-3
myGridTableStyle.GridColumnStyles(0).Alignment = HorizontalAlignment.Center

I want to align my columns in a datagrid
when i write this code error comes:

System.Argumentoutofrangeexception
 
Back
Top