|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Missing cell borders in Table controlHi,
I am using the Table control in ASP.NET to display values from a database. Although I have specified borders for each cell, cells with no data are displaying without borders. At the cell level I have the BorderStyle set to "Solid" and have set a border color. I also have the same set at the row level. Still empty cells get no border. How can I get empty cells to have a border? Do I need to initialize the empty cells to something or is there a way to just always have a border? Thanks! Bob Just put atleast a space character ( ) inside a cell to make the
borders appear. Eric - http://www.ComputerHelpCentral.com elect_son wrote: Show quoteHide quote > Hi, > > I am using the Table control in ASP.NET to display values from a database. > Although I have specified borders for each cell, cells with no data are > displaying without borders. > > At the cell level I have the BorderStyle set to "Solid" and have set a > border color. I also have the same set at the row level. Still empty cells > get no border. > > How can I get empty cells to have a border? Do I need to initialize the > empty cells to something or is there a way to just always have a border? > > Thanks! > > Bob
FormView, with 2 dropdownlists
<asp:Repeater>, checkbox values and ASP.NET 2.0 GridView with objectdatasource Searching for a powerfull calendar addon difficulty setting time values in Calendar User Control used in Repeater, but no output Microsoft ASP.NET 2.0 Treeview not being W3C compliant? Gridview -- changing field content Retrieving all properties of control how to -asp.net Multiview and Validation |
|||||||||||||||||||||||