`
zy77612
  • 浏览: 283465 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

常用的知识

    博客分类:
  • .net
阅读更多

asp.net服务器控件命名规范:

 

 

Control Prefix Example
Label lbl lblSurname
TextBox txt txtSurname
GridView drg drgResults
Button btn btnSave
ImageButton ibtn ibtnSave
Hyperlink lnk lnkHomePage
DropDownList ddl ddlCompany
ListBox lst lstCompany
DataList dlst dlstAddress
Repeater rep repSection
Checkbox chk chkMailList
CheckBoxList chk chkAddress
RadioButton rdo rdoSex
RadioButtonList rdo rdoAgeGroup
Image img imgLogo
Panel pan panSection
PlaceHolder plh plhHeader
Calender cal calMyDate
Adrotator adr adrBanner
Table tbl tblResults
[All] Validators val valCreditCardNumber
ValidationSummary vals valsErrors

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics