关于表格添加行的问题
<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">
<title>无标题页</title>
<script language="javascript" type="text/javascript">
function button()
{
var j=document.getElementById('tb1');
var x=j.insertRow();
var h1=x.insertCell();
var h2=x.insertCell();
h1.innerHTML="<input id=\"txt11554\" style=\"width: 81px;\" ruant=\"server\" type=\"text\" name=\"txt11554\" class=\"text-k3\"/>";
h2.innerHTML="<input id=\"txt21554\" style=\"width: 81px;\" ruant=\"server\" type=\"text\" name=\"txt21554\" class=\"text-k3\"/>";
alert(document.getElementById("txt11554"))
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" onclick="button();"/>
<table id="tb1">
<tr>
<td><input type="text" runat="server" id="txt11551"/></td>
<td><input type="text" runat="server" id="txt21551"/></td>
</tr>
<tr>
<td><input type="text" runat="server" id="txt11552"/></td>
<td><input type="text" runat="server" id="txt21552"/></td>
</tr>
<tr>
<td><input type="text" runat="server" id="txt11553"/></td>
<td><input type="text" runat="server" id="txt21553"/></td>
</tr>
</table>
</div>
</form>
</body>
</html>
可是我到后台找不到这个控件
HtmlInputText txt = (HtmlInputText)Page.FindControl("txt11554");
请问要怎么解决噢????? --------------------编程问答-------------------- 不懂····
友情UP```
补充:.NET技术 , C#