C# twitter引导、html控件和asp.net代码隐藏

C# twitter引导、html控件和asp.net代码隐藏,c#,asp.net,html,C#,Asp.net,Html,我正在一个使用twitter引导和asp.net开发的网站上工作 我想知道如何从代码隐藏页访问html控件。 比如说, <div class="control-group"> <label class="control-label" for="name"> Your Name</label> <div class="controls"> <input type="text" class="input-xlarg

我正在一个使用twitter引导和asp.net开发的网站上工作

我想知道如何从代码隐藏页访问html控件。 比如说,

<div class="control-group">
<label class="control-label" for="name">
Your Name</label>
<div class="controls">
                <input type="text" class="input-xlarge" name="ApplicantName" id="AppName" placeholder="First Name and Last Name" >
            </div>
        </div>

你的名字

如何获取或设置applicationName文本框的值?

向控件添加
runat
属性,并将值设置为
server
,这样就可以在codebehind中访问它

<input type="text" id="txtName" runat="server" />

当然,这是如此基本的东西,第一个教程会涵盖它吗?
txtName.Value="this is set from codebehind";