我设计了一个网站。在那个网站中,我使用母版页作为我的网页。在该网页中,我放置了位于内容占位符中的 HTML 控件。我想在代码隐藏文件中检索 HTML 控件的值。这个怎么做?
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<div>
<span>
<select id="Select1">
<option value="1">Low</option>
<option value="2">Medium</option>
<option value="3">High</option>
<option value="4">Not Assigned</option>
</select></span>
<span>
<input id="Text1" type="text" /></span>
<span>
<asp:Button ID="Button1" runat="server" Text="Button"
onclick="Button1_Click" />
</span>
</div>
</asp:Content>
我想检索Button1
.