Torna al Thread

//Riga intestazione TableRow tempRow1 = new TableRow(); tempRow1.ID="trBooking" + cont.ToString(); Label lbBooking = new Label(); lbBooking.ID = "lbBookingCode" + cont.ToString(); lbBooking.Text = myReadDett["bookingcode"].ToString(); TableCell tempCellBook = new TableCell(); tempCellBook.ID="tdBooking" + cont.ToString(); tempCellBook.Controls.Add(lbBooking); tempCellBook.Width = 152; tempCellBook.CssClass ="titolo"; tempRow1.Cells.Add(tempCellBook); tbPrenotazione.Rows.Add(tempRow1); <asp:table id="tbPrenotazione" runat="server" CellPadding="3" CellSpacing="1" BorderWidth="0" Width="825" CssClass="sfondotabella"></asp:table>
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5