web 2.0

ASP.NET(vb.net) & TableRow - asp:TableRow

ASP.NET(vb.net) & TableRow - asp:TableRow - asp:TableRow : Represents a row in the Table control and allows you to manipulate it programmatically.

ShotDev Focus:
- ASP.NET(vb.net) & TableRow - asp:TableRow

ASP.NET(vb.net) & TableRow - asp:TableRow

Tag Control :

<asp:TableRow id="TableRow1"
HorizontalAlign="Center|Justify|Left|NotSet|Right"
VerticalAlign="Bottom|Middle|NotSet|Top"
runat="server">

<asp:TableCell>
Cell text
</asp:TableCell>

</asp:TableRow>

Example

TableRow.aspx

<%@ Page Language="VB" %>
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object,e As EventArgs)
Dim i As integer
Dim lblText As Label
For i = 1 To 6
lblText = Me.FindControl("Label"&i)
lblText.Text = "www.ShotDev.Com " & i
Next
End Sub
</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form runat="server">
<asp:Table id="MyTable" runat="server" cellspacing="0" cellpadding="5" border="1">
<asp:TableRow runat="server">
<asp:TableCell colspan="3" runat="server">
<asp:Label id="Label1" text="Label" runat="Server" />
</asp:TableCell>
</asp:TableRow>

<asp:TableRow runat="server">
<asp:TableCell runat="server">
<asp:Label id="Label2" text="Label" runat="Server" />
</asp:TableCell>
<asp:TableCell colspan="2" runat="server">
<asp:Label id="Label3" text="Label" runat="Server" />
</asp:TableCell>
</asp:TableRow>

<asp:TableRow runat="server">
<asp:TableCell runat="server">
<asp:Label id="Label4" text="Label" runat="Server" />
</asp:TableCell>
<asp:TableCell runat="server">
<asp:Label id="Label5" text="Label" runat="Server" />
</asp:TableCell>
<asp:TableCell runat="server">
<asp:Label id="Label6" text="Label" runat="Server" />
</asp:TableCell>
</asp:TableRow>

</asp:Table>
</form>
</body>
</html>

Screenshot

ASP.NET(vb.net) & TableRow - asp:TableRow
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.