webform控件以及使用

文本类:

<input type="text"/>               

<input type="password"/>     --textmode="password"

<textarea></textarea>   --textmode="multline'

<input type="hidden"/>

按钮类:

<input type="button"/>     --没有此控件

<input type="reset"/>       --没有此控件

<input type="submit"/>

<input type="image"/>

选择类:

<input type="radio"/ id="a"><label for="a"></label>

<input type="checkbox"/>

<input type="file"/>

<select>

  <option></option>

  <option></option>

</select>

简单控件:
Label
Literal
TextBox TextMode="" Visible="false" Enabled="false"
HiddenFiled
Button
ImageButton

复合控件:
radio:radioButton radioButtonList 单选                -- GroupName="",对应Html中的name
checkbox:checkbox checkboxList 多选
select option: DropDownList 单选 ListBox 多选                   --AutoPostBack="true" 此属性才可在后台调用DropDownList的方法

原文地址:https://www.cnblogs.com/m110/p/8053537.html