基本的Web控件一

2018-06-17 21:37:32来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

ASP.NET提供了与HTML元素相对应的基本Web控件,ASP.NET提供的基本的Web控件如下:

基本的Web控件       对应的HTML元素

Label  ---------------------------  <span>

Button  --------------------------  <input type="submit">或者<input type="Button">

TextBox  -------------------------  <input type="text">,<input type="password">,<textarea>

Checkbox  ------------------------  <input type="checkbox">

RadioButton  ---------------------  <input type="radio">

Hyperlink  -----------------------  <input type="a">

LinkButton  ----------------------  在标记<a></a>之间包含一个<Image>标记

ImageButton  ---------------------  <input type="image">

Image  ---------------------------  <img>

ListBox  -------------------------  <select size="X">,X是包含的行标记

DropDownList  --------------------  <select>

CheckBoxList  --------------------  多个<input type="checkbox">标记

RadioButtonList  -----------------  多个<input type="radio">标记

BulletedList  --------------------  <ol>的有序清单或<ul>的无序清单

Panel  ---------------------------  <div>

TableTableRowTableCell  ------  <table><tr><td><th>

 

原文链接:

http://blog.csdn.net/spilledlight/article/details/48711581

 

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:ASP.NET 动态属性筛选和分页绑定

下一篇:C#HttpWebResponse请求常见的状态码