代码编辑器:
x
1
<script runat="server">
2
Sub submit(sender As Object, e As EventArgs)
3
dim i,j
4
table1.BGColor="yellow"
5
table1.BorderColor="red"
6
for i=0 To table1.Rows.Count-1
7
for j=0 To table1.Rows(i).Cells.Count-1
8
table1.Rows(i).Cells(j).InnerHtml="Row " & i
9
next
10
next
11
End Sub
12
</script>
13
14
<!DOCTYPE html>
15
<meta charset="utf-8" />
16
<form runat="server">
17
<table id="table1" border="1" runat="server">
18
<tr>