zoukankan      html  css  js  c++  java
  • ASP.NET 控件命名规范

    ASP.NET 控件命名规范

    控件名称(标准)

    前缀

    示例

    Label

    Lbl

    LblResults

    TextBox

    Txt

    TxtFirstName

    Button

    Btn

    BtnSubmit

    LinkButton

    Lbtn

    LbtnSubmit

    ImageButton

    Ibtn

    IbtnSubmit

    HyperLink

    Lnk

    LnkDetails

    DropDownList

    Drop

    DropCountries

    ListBox

    Lst

    LstCountries

    CheckBox

    Chk

    ChkBlue

    CheckBoxList

    Chkl

    ChklFavColors

    RadioButton

    Rad

    RadFemale

    RadioButtonList

    Radl

    RadlGender

    Image

    Img

    ImgAuntBetty

    ImageMap

    Imgm

     

    Table

    Tbl

    TblCountryCodes

    BulletedList

    Bltl

     

    HiddenField

    Hdn

     

    Literal

    Ltr

     

    Calendar

    Cal

    CalMettingDates

    AdRotator

    Adrt

    AdrtTopAd

    FileUpload

    Fup

     

    Wizard

    Wzd

     

    XML

    Xmlc

    XmlcTransformResults

    MultiView

    Mltv

     

    Panel

    Pnl

    PnlForm2

    PlaceHolder

    Plh

    PlhFormContents

    View

    View

     

    Substitution

    Sbtt

     

    Localize

    Lcl

     

    GridView

    Gdv

    GdvArticles

    DataList

    Dlst

    DlstTitles

    DetailsView

    Dtv 

     

    FormView

    Fmv

     

    Repeater

    Rpt

    RptQueryResults

    SqlDataSource

    Sds

     

    AccessDataSource

    Ads

     

    XmlDataSource

    Xds

     

    SiteMapDataSource

    Mds

     

    ObjectDataSource

    Ods

     

    ReportViewer

    Rpv

     

    RequiredFieldValidator

    Valr

    ValrFirstName

    RangeValidator

    Valg

    ValgAge

    RegularExpression

    Vale

    ValeEmail_Validator

    CompareValidator

    Valc

    ValcValidAge

    CustomValidator

    Valx

    ValxDBCheck

    ValidationSummary

    Vals

    ValsFormErrors

    SiteMapPath

    Smp

     

    Menu

    Mnu

     

    TreeView

    Trv

     

    Login

    Lg

     

    LoginView

    Lgv

     

    PasswordRecovery

    Psr

     

    LoginStatus

    Lgs

     

    LoginName

    Lgn

     

    CreateUserWizard

    Cuw

     

    ChangePassword

    Cpw

     

    TableCell

    Tblc

    TblcGermany

    TableRow

    Tblr

    TblrCountry

  • 相关阅读:
    jsp中添加弹窗口并且实现向后台双向传递数据
    hql中or的用法(代替union)
    hql中in的用法
    spring中的定时任务调度用例
    JS如何将UTC格式时间转本地格式
    HttpSession与Hibernate中Session的区别
    adaptive hash index
    InnoDB Double write
    int(M)与int
    MySQL库目录下db.opt文件的作用
  • 原文地址:https://www.cnblogs.com/jayleke/p/1791178.html
Copyright © 2011-2022 走看看