ASP.NET HTML 控件 Table
asp.net html 控件 table
<!doctype html>
<html>
<body>
<form runat=server>
<asp:table runat="server" cellpadding="5"
gridlines="horizontal" horizontalalign="center">
<asp:tablerow>
<asp:tablecell>1</asp:tablecell>
<asp:tablecell>2</asp:tablecell>
</asp:tablerow>
<asp:tablerow>
<asp:tablecell>3</asp:tablecell>
<asp:tablecell>4</asp:tablecell>
</asp:tablerow>
</asp:table>
<br>
<asp:table runat="server" cellpadding="5"
gridlines="vertical" horizontalalign="center">
<asp:tablerow>
<asp:tablecell>1</asp:tablecell>
<asp:tablecell>2</asp:tablecell>
</asp:tablerow>
<asp:tablerow>
<asp:tablecell>3</asp:tablecell>
<asp:tablecell>4</asp:tablecell>
</asp:tablerow>
</asp:table>
</form>
</body>
</html>
<html>
<body>
<form runat=server>
<asp:table runat="server" cellpadding="5"
gridlines="horizontal" horizontalalign="center">
<asp:tablerow>
<asp:tablecell>1</asp:tablecell>
<asp:tablecell>2</asp:tablecell>
</asp:tablerow>
<asp:tablerow>
<asp:tablecell>3</asp:tablecell>
<asp:tablecell>4</asp:tablecell>
</asp:tablerow>
</asp:table>
<br>
<asp:table runat="server" cellpadding="5"
gridlines="vertical" horizontalalign="center">
<asp:tablerow>
<asp:tablecell>1</asp:tablecell>
<asp:tablecell>2</asp:tablecell>
</asp:tablerow>
<asp:tablerow>
<asp:tablecell>3</asp:tablecell>
<asp:tablecell>4</asp:tablecell>
</asp:tablerow>
</asp:table>
</form>
</body>
</html>
相关文章
- ASP.NET Razor 标记
- ASP.NET Razor C# 循环和数组
- ASP.NET MVC 模型
- ASP.NET 事件句柄
- ASP.NET Repeater 控件
- ASP.NET LinkButton 控件
- ASP.NET TableCell 控件
- WebSecurity ResetPassword 方法
- HTML InputImage
- HTML Table 2
- Button
- ASP.NET HTML 控件 Checkbox
- ASP.NET HTML 控件 CheckboxList
- ASP.NET HTML 控件 DataList
- ASP.NET HTML 控件 DropdownList
- ASP.NET HTML 控件 linkbutton
- Listbox
- ASP.NET HTML 控件 Literal
- ASP.NET HTML 控件 Literal 2
- RadiobuttonList