Frog Frog Recommended: vs.net development naming specification.doc

xiaoxiao2021-03-06  74

Types of

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

Types of

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

Types of

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

DVWFilteredProducts

The name of an event-handling subroutine will consist of the ID of the control that rasied the event followed by the type of event being handled. For example, a subroutine named btnSubmit_Click handles the Click event of a Button control named btnSubmit.When a control .

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

New Post(0)