69pao国产精品视频-久久精品一区二区二三区-精品国产精品亚洲一本大道-99国产综合一区久久

ASP.NET Table 控件

asp.net table 控件

web server controls web 服務(wù)器控件

定義和用法

table 控件與 tablecell 控件和 tablerow 控件配合,用于創(chuàng)建表格。

屬性

屬性 描述 .net
backimageurl 表格的背景圖像的 url。 1.0
caption 表格的標(biāo)題。 2.0
captionalign 標(biāo)題文本的對齊方式。 2.0
cellpadding 單元格邊框與內(nèi)容的間距。 1.0
cellspacing 單元格間距。 1.0
gridlines 表格的網(wǎng)格線格式 1.0
horizontalalign 表格在頁面中的水平對齊方式。 1.0
rows 表格中的行集合。 1.0
runat 規(guī)定該控件是服務(wù)器控件。必須設(shè)置為 "server"。 1.0

web 控件標(biāo)準(zhǔn)屬性

accesskey, attributes, backcolor, bordercolor, borderstyle, borderwidth, cssclass, enabled, font, enabletheming, forecolor, height, isenabled, skinid, style, tabindex, tooltip, width

如需完整描述,請訪問 web 控件標(biāo)準(zhǔn)屬性。

控件標(biāo)準(zhǔn)屬性

apprelativetemplatesourcedirectory, bindingcontainer, clientid, controls, enabletheming, enableviewstate, id, namingcontainer, page, parent, site, templatecontrol, templatesourcedirectory, uniqueid, visible

如需完整描述,請訪問 控件標(biāo)準(zhǔn)屬性。

實例

table
在本例中,我們在 .aspx 文件中聲明了兩個 table 控件。

table 2
在本例中,我們在 .aspx 文件中聲明了一個 table 控件,三個 tablerow 控件,和兩個 tablecell 控件。

web server controls web 服務(wù)器控件
相關(guān)文章