set border color for cell in code behind
Posted on 2004-08-06
I am creating a table dynamically in code and having a hard time setting the border color of the cells.
I need the cells to look like buttons or at the very least have some dimenson.
What Im looking for is to set the Top and Left cell border to gray and bottom and right to black.
Right now I'm setting some of the properties like this:
cell.BackColor = Color.SteelBlue
I must be skirting around it.
Any help would be appreciated.