案例:ASP.NET案例     状态:不可编辑再运行    进入横版
x
 
1
2
<html>
3
<body>
4
5
<form runat=server>
6
<asp:Table runat="server" CellPadding="5"
7
GridLines="horizontal" HorizontalAlign="Center">
8
   <asp:TableRow>
9
     <asp:TableCell>1</asp:TableCell>
10
     <asp:TableCell>2</asp:TableCell>
11
   </asp:TableRow>
12
   <asp:TableRow>
13
     <asp:TableCell>3</asp:TableCell>
14
     <asp:TableCell>4</asp:TableCell>
15
   </asp:TableRow>
16
</asp:Table>
17
<br />
18
<asp:Table runat="server" CellPadding="5"
19
GridLines="vertical" HorizontalAlign="Center">
20
   <asp:TableRow>
21
     <asp:TableCell>1</asp:TableCell>
22
     <asp:TableCell>2</asp:TableCell>
23
   </asp:TableRow>
24
   <asp:TableRow>

 运行结果 
 北美留学生论坛