Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/03/2008, 13:47
EdgarFA
 
Fecha de Ingreso: marzo-2008
Mensajes: 69
Antigüedad: 16 años, 2 meses
Puntos: 0
Re: Borde a una TableRow o TableCell

he probado lo que tu me has dicho y no me funciona :(!
Yo en el codigo del ASPX tengo esto

<asp:Table ID="tbla_temas" runat="server" Width="716px" CellPadding="0" CellSpacing="0">
</asp:Table>
</td>
</tr>
</table>

Luego en aspx.cs tengo:
TableRow fila = new TableRow();
fila.Height = 25;

TableCell celda = new TableCell();
celda.Height = 25;
celda.Width = 25;
celda.HorizontalAlign = HorizontalAlign.Center;
celda.BackColor = System.Drawing.Color.FromArgb(153, 153, 153);
celda.Attributes.Add("boder", "solid 1px black");
celda.Attributes.Add("border-bottom-width", "0px");
fila.Cells.Add(celda);
....

Yo creo que el problema puede estar en que intento hacer un attribrute en algo que en el codigo aspx no existe?