| |

VerySource

 Forgot password?
 Register
Search
View: 594|Reply: 2

About controlling the shape of the table in cs code

[Copy link]

3

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Invalid IP Address

Post time: 2020-2-22 06:30:03
| Show all posts |Read mode
Is it possible to control the shape of the table in the cs code, such as merging the two columns of the table or the two cells of the table, is it possible to use the table server control
Reply

Use magic Report

1

Threads

11

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-5-4 00:00:01
| Show all posts
Wouldn't it be better to write TABLE by hand? If you are familiar with HTML, you can manually combine the TABLE statement and then load it into the page.
Reply

Use magic Report

0

Threads

8

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-5-4 16:45:01
| Show all posts
can
HtmlTable table = new HtmlTable ();
table.Border = ...;
HtmlTableRow row = new HtmlTableRow ();
HtmlTableCell cell = new HtmlTableCell ();
cell.ColSpan = 2;
row.Cells.Add (cell);
table.Rows.Add (row);
....
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list