Table Server Control

Table Server Control

The HTML <table> element is one of the most common formats which is used for displaying a large number of records of information.

Code for Table Server Control:

<asp:Table ID=”Table1″ runat=”server”>
<asp:TableRow ID=”TableRow1″ runat=”server”>
<asp:TableHeaderCell>Courses Offered</asp:TableHeaderCell>
<asp:TableHeaderCell>Time Duration</asp:TableHeaderCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>C</asp:TableCell>
<asp:TableCell>3 Months</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>C++</asp:TableCell>
<asp:TableCell>3 Months</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>Word 2013</asp:TableCell>
<asp:TableCell>1 Month</asp:TableCell>
</asp:TableRow>
</asp:Table>

Scroll to Top