标签:style color strong width 数据 os
附件1:数据类型缩写表
数据类型 |
缩写 |
string |
str |
int |
i |
char |
sz |
sbyte |
sb |
byte |
bt |
uint |
ui |
long |
l |
ulong |
ul |
float |
f |
double |
d |
bool |
b |
decimal |
dec |
附件2:服务器控件名缩写表
A.Web控件
数据类型 |
缩写 |
AdRotator |
art |
Button |
btn |
Calendar |
cd |
CheckBox |
chk |
CheckBoxList |
chkl |
CompareValidator |
cpv |
CustomValidator |
ctv |
DataGrid |
dg |
DataList |
dl |
DropDownList |
ddl |
Repeater |
rp |
RequiredFieldValidator |
rfv |
Table |
tb |
TableCell |
tc |
TableRow |
tr |
TextBox |
txt |
ValidationSummary |
vs |
XML |
XML |
B、Html控件
数据类型 |
缩写 |
HtmlAnchor |
hah |
HtmlButton |
hbtn |
HtmlForm |
hform |
HtmlGenericControl |
hgc |
HtmlImage |
himg |
HtmlInputButton(按钮) |
htxt |
HtmlInputButton(重置) |
hrbtn |
HtmlInputButton(提交) |
hcbtn |
HtmlInputCheckBox |
hick |
HtmlInputFile |
hifile |
HtmlInputHidden |
hihidden |
HtmlInputImage |
hiimg |
HtmlInputRadioButton |
hirb |
HtmlInputText(密码) |
hpwd |
HtmlInputText(文本) |
hitxt |
HtmlSelect |
hslt |
HtmlTable |
htab |
HtmlTableCell |
htc |
HtmlTableRow |
htr |
HtmlTextArea |
htxta |
C.ADO.NET控件命名规范
数据类型 |
缩写 |
示例 |
Connection |
con |
conNorthwind |
Command |
cmd |
cmdReturnProducts |
Parameter |
parm |
parmProductID |
DataAdapter |
dad |
dadProducts |
DataReader |
dtr |
dtrProducts |
DataSet |
dst |
dstNorthWind |
DataTable |
dtbl |
dtblProduct |
DataRow |
drow |
drowRow98 |
DataColumn |
dcol |
dcolProductID |
DataRelation |
drel |
drelMasterDetail |
DataView |
dvw |
dvwFilteredProducts |
D.ASP 代码中声明变量
数据类型 |
缩写 |
示例 |
Boolean |
bln |
blnSuccess |
Currency |
cur |
curAmount |
Double |
dbl |
dblQuantity |
Date and Time |
dat |
datDate |
Float |
flt |
fltRatio |
Long |
lng |
lngMilliseconds |
Integer |
int |
intCounter |
String |
str |
strName |
Array |
arr |
arrUsers() |
COM Object |
obj |
objPipeline |
标签:style color strong width 数据 os
原文地址:http://www.cnblogs.com/Miss-Lee/p/3815274.html