简体   繁体   中英

How to set table width and height in code behind

I have created a table like this: dim table as Table = New Table(3)

SO now I have a Table with 3 columns.

But how do I set the width and height of the table?

Like table.width = 100px

Thank you

A simple css can server the purpose .

   table
    {width : percentage or pixels }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM