VS.NET 2003 Control Naming Specification

xiaoxiao2021-04-09  426

VS.NET 2003 Control Naming Specification

Type

Prefix

EXAMPLE

Array

arr

ArrshoppingList

Boolean

BLN

BLNISPOSTBACK

Byte

BYT

ByTpixelValue

Charr

CHR

Chrdelimiter

Datetime

DTM

DTMStartDate

Decimal

Dec

DecaverageHeight

Double

DBL

DBLSIGUNIVERSE

Integer

int

IntrowCounter

Long

LNG

LNGBILLGATESINCOME

Object

Obj

ObjreturnValue

Short

SHR

SHRAVERAGE

Single

SNG

SNGMAXIMUM

String

Str

Strfirstname

WebControls

Type

Prefix

EXAMPLE

ADROTATOR

ADRT

Adrtopad

Button

BTN

Btnsubmit

Calendar

Cal

CalmettingDates

Checkbox

chk

Chkblue

Checkboxlist

chKL

Chklfavcolors

CompareValidator

Valc

Valcvalidage

CustomValidator

Valx

Valxdbcheck

DataGrid

DGRD

DGRDTISLES

Datalist

DLST

Dlsttitles

DropDownList

Drop

DROPCOUNTRIES

Hyperlink

lnk

lnkdetails

Image

IMG

IMGauntbetty

ImageButton

IBTN

ibtnsubmit

Label

LBL

LblResults

LinkButton

LBTN

LBTNSUBMIT

Listbox

LST

LSTCOUNTRIES

Panel

PNL

PNLForm2

Placeholder

PLH

PLHFORMCONTENTS

Radiobutton

RAD

Radfemaale

RadiobuttonList

RADL

Radlgender

Rangevalidator

Valg

Valgage

RegularExpression

Vale

VALEEMAIL_VALIDATOR

Repeater

RPT

RptQueryResults

RequiredFieldValidator

VALR

Valrfirstname

TABLE

TBL

TBLCOUNTRYCODES

TableCell

TBLC

TBLCGERMANY

Tablelow

TBLR

TBLRCOUNTRY

Textbox

TXT

TXTFIRSTNAME

Validationsummary

Vals

Valsformerro

Xml

XMLC

XMLCTransformResults

ADO.NET

Type

Prefix

EXAMPLE

Connection

CON

Connorthwind

Command

cmd

cmdreturnproducts

Parameter

PARM

PARMPRODUCTID

DataAdapter

DAD

DADPRODUCTS

DataReader

DTR

DTRPRODUCTS

DataSet

DST

DstnorthWind

Datarable

DTBL

DTBLPRODUCT

DataRow

Drow

DROWROW98

Datacolumn

DCOL

DCOLPRODUCTID

DataRelation

Drel

DrelmasterDetail

DataView

DVW

转载请注明原文地址:https://www.9cbs.com/read-133084.html

New Post(0)