ASP.NET中控件命名规则

控件名
简写
控件名
简写
Web 窗体
Label
lbl
TextBox
tb
Button
btn
LinkButton
lb
HyperLink
hl
Repeator
rpt
ImageButton
ib
DropDownList
ddl
ListBox
lb
DataGrid
dg
DataList
dl
CheckBox
cb
CheckBoxList
cbl
RadioButton
rb
RadioButtonList
rbl
Image
img
Panel
pnl
Calender
cld
AdRotator
ar
Table
tbl
PlaceHolder
ph
Xml
xml
RequiredFieldValidator
rfv
Compareval_ridator
cv
Rangeval_ridator
rv
Regularexpression_rValidator
rev
ValidatorSummary
vs
CustomValidation
cv
Literal
ltl
TreeView
tv
数据
DataSet
ds
DataTable
dt
DataView
dv
SqlConnection
sc
SqlDataAdapter
sda
SqlCommand
sc
HTML
Label
lbl
Button
btn
Reset Button
rb
Submit Button
sb
Text Field
tf
Text Area
tr
File Field
ff
Password Field
pf
Checkbox
cb
Radio Button
rb
Hidden
hdn
Table
tbl
Flow Layout Panel
flp
Grid Layout Panel
glp
Image
img
Listbox
lb
常用词缩写
Argument
Arg
Maximum
Max
Buffer
Buf
Message
Msg
Clear
Clr
Minimum
Min
Clock
Clk
Multiplex
Mux
Compare
Cmp
Operating System
OS
Configuration
Cfg
Overflow
Ovf
Context
Ctx
Parameter
Param
Delay
Dly
Pointer
Ptr
Device
Dev
Previous
Prev
Disable
Dis
Priority
Prio
Display
Disp
Read
Rd
Enable
En
Ready
Rdy
Error
Err
Register
Reg
Function
Fnct
Schedule
Sched
Hexadecimal
Hex
Semaphore
Sem
High Priority Task
HPT
Stack
Stk
I/O System
IOS
Synchronize
Sync
Initialize
Init
Timer
Tmr
Mailbox
Mbox
Trigger
Trig
Manager
Mgr
Write
Wr
一些在软件中常用的反义词组
add/remove
begin/end
create/destroy
insert/delete
first/last
get/release
increment/decrement
put/get
add/delete
lock/unlock
open/close
min/max
old/new
start/stop
next/previous
source/target
show/hide
send/receive
source/destination
cut/paste
up/down
 
 
 

你可能感兴趣的:(ASP.NET中控件命名规则)