DataGrid

zmrocks

New Member
Hi. I have a DataGrid with two columns, and I was wondering if it is possible to specify that I want a space in front of and behind the text in those columns? Otherwise the text in the columns will appear too close to the DataGrid border.The simplest thing, IMHO, would be to set the CellPadding of the DataGrid. YOu can simply include that in the properties of the DataGrid, like:<BR><BR><asp:datagrid ... CellPadding="5" ... /><BR><BR>hth
 
Back
Top