关于label textarea 的问题~
<asp:PanelID="pnlPanel1"runat="server"HorizontalAlign="Center"Height="249px"Width="51...
<asp:Panel ID= "pnlPanel1 " runat= "server " HorizontalAlign= "Center " Height= "249px " Width= "514px " >
<asp:Panel ID= "pnlPanel2 " runat= "server " HorizontalAlign= "Center ">
<label id= "labTextArea ">
<textarea name= "textarea " cols= "60 " rows= "12 " id= "TextArea "> 请在这里输入您的留言
</textarea>
</label>
</asp:Panel>
<asp:Panel ID= "pnlPanel3 " runat= "server " HorizontalAlign= "Center " Height= "20px " style= "font-size: smaller ">
<asp:Button ID= "btnSubmit " runat= "server " Text= "提交 " Width= "50px " Height= "20px " BackColor= "White " OnClick= "btnSubmit_Click " />
<asp:Button ID= "btnClear " runat= "server " Text= "清除 " Width= "50px " Height= "20px " BackColor= "White " OnClick= "btnClear_Click " />
</asp:Panel>
</asp:Panel>
这个是我的页面设计,但是在c#用什么语句得到 <textarea name= "textarea " cols= "60 " rows= "12 " id= "TextArea "> 请在这里输入您的留言
</textarea> 中的文本呢? 展开
<asp:Panel ID= "pnlPanel2 " runat= "server " HorizontalAlign= "Center ">
<label id= "labTextArea ">
<textarea name= "textarea " cols= "60 " rows= "12 " id= "TextArea "> 请在这里输入您的留言
</textarea>
</label>
</asp:Panel>
<asp:Panel ID= "pnlPanel3 " runat= "server " HorizontalAlign= "Center " Height= "20px " style= "font-size: smaller ">
<asp:Button ID= "btnSubmit " runat= "server " Text= "提交 " Width= "50px " Height= "20px " BackColor= "White " OnClick= "btnSubmit_Click " />
<asp:Button ID= "btnClear " runat= "server " Text= "清除 " Width= "50px " Height= "20px " BackColor= "White " OnClick= "btnClear_Click " />
</asp:Panel>
</asp:Panel>
这个是我的页面设计,但是在c#用什么语句得到 <textarea name= "textarea " cols= "60 " rows= "12 " id= "TextArea "> 请在这里输入您的留言
</textarea> 中的文本呢? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询