Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table cell width
Message
From
18/04/2003 11:17:00
 
 
To
18/04/2003 11:03:57
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00779181
Message ID:
00779188
Views:
13
Try:

// Create a new cell and add it to the row.
TableCell tCell = new TableCell();
tCell.Text = "Row " + rowCtr + ", Cell " + cellCtr;
tCell.Width = Unit.Pixel(200);  // 200 is desired number of pixels
                                // You can use also Percentage and Point static methods
tRow.Cells.Add(tCell);

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform