Border Color & Width in DataGrid?

A

Arpan

The output of a DataGrid is nothing but a HTML table. To color or
change the width of the outer 4 borders of a DataGrid, one can use the
properties "BorderColor" & "BorderWidth" respectively but how does one
change the border color & width of the 4 borders surrounding each cell?

There are 4 other properties apparently meant for changing the border
color & width of the 4 borders surrounding each cell i.e.
HeaderStyle-BorderColor & HeaderStyle-BorderWidth (for the headers) &
ItemStyle-BorderColor & ItemStyle-BorderWidth (for the items) but using
them doesn't change the border properties around each cell.

Thanks,

Arpan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top