摘要:
C#格式化数值结果表字符 说明 示例 输出 C货币string.Format("{0:C3}", 2)$2.000D十进制string.Format("{0:D3}", 2)002E科学计数法1.20E+0011.20E+001G常规string.Format("{0:G}", 2)2N用分号隔开的数字string.Format("{0:N}", 250000)250,000.00X十六进制string.Format("{0:X000}", 12)Cstring.Format("{0: 阅读全文
摘要:
jQuery在客户端操作Table学习:不过有很多很多的不足,还需要学习掌握。Html代码 <styletype="text/css">.hover { background-color:red; } </style><tableid="table1"border="1"cellpadding="0"cellspacing="0"><tr><th><inputtype="checkbox"id="ch 阅读全文
摘要:
jQuery对select和option操作小结,加入移出move2010-07-01 17:05//遍历option和添加、移除optionfunction changeShipMethod(shipping){var len = $("select[@name=ISHIPTYPE] option").lengthif(shipping.value != "CA"){$("select[@name=ISHIPTYPE] option").each(function(){if($(this).val() == 111){$(this) 阅读全文
摘要:
var cm = new Ext.grid.ColumnModel( [ new Ext.grid.RowNumberer({ header: "", width: 20, align: 'center' }), { header: '', align: 'center', dataIndex: 'AccountAndRoseID', width: 50, sortable: true, hidden: true }, { header: '', align: 'center', 阅读全文