我想使用span
添加一個文本框到我的網頁,我用這個片段,但它不工作。有人可以幫幫我嗎?添加文本框跨度不工作
answerResualts.InnerHtml += "<table>";
answerResualts.InnerHtml += "<tr>";
answerResualts.InnerHtml += "<td>";
answerResualts.InnerHtml += @"<asp:TextBox ID=""TextBox1"" runat=""server"" TextMode=""MultiLine"" Text=""test""></asp:TextBox>";
answerResualts.InnerHtml += "</td>";
answerResualts.InnerHtml += "</tr>";
answerResualts.InnerHtml += "</table>";
什麼是InnerHtml?你的意思是'innerHTML'? – passion