摘要: C#货币格式转化实例向你介绍了一点在C#货币格式转化时所用到的小技巧,希望通过这个实例使你了解C#货币格式转化的使用细节,对你学习C#货币格式转化方面有所帮助。C#货币格式转化1.格式化输入数据为货币格式本实例主要用NumberFormatInfo类的CurrencyGroupSeparator属性格式化输入数据为货币格式。CurrencyGroupSeparator属性获取或设置在货币值中对小数... 阅读全文
posted @ 2009-11-05 14:18 Silver.Lee 阅读(1606) 评论(0) 推荐(0) 编辑
摘要: jQuery是圆括号:$("#XXX");模版引擎是花括号:${XXX}. 阅读全文
posted @ 2009-11-05 14:17 Silver.Lee 阅读(240) 评论(0) 推荐(0) 编辑
摘要: string.Format("{0:N2}",h["Price"]) 阅读全文
posted @ 2009-11-05 14:16 Silver.Lee 阅读(164) 评论(0) 推荐(0) 编辑
摘要: mssql查找备注(text,ntext)类型字段为空的方法1 . select * from 表 where datalength(字段)=0 2. select * from 表 where cast(字段 as varchar(100))='' 3. select * from 表 where 字段 like '' 阅读全文
posted @ 2009-11-05 14:14 Silver.Lee 阅读(283) 评论(0) 推荐(1) 编辑
摘要: ----执行效率检测---declare @begin_date datetime declare @end_date datetime select @begin_date = getdate() ---中间是你要执行的程序select @end_date = getdate() select datediff(ms,@begin_date,@end_date) as '用时/毫秒' 阅读全文
posted @ 2009-11-05 12:52 Silver.Lee 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 文件上传(File upload)Ajax File Upload.jQUploader.Multiple File Upload plugin. jQuery File Style.Styling an input type file.Progress Bar Plugin. 表单验证(Form Validation)jQuery Validation.Auto Help.Simple jQue... 阅读全文
posted @ 2009-11-05 12:49 Silver.Lee 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <DIV id=time_conter style="DISPLAY: none; bgcolor:#ccffff; FONT-WEIGHT: bold; WIDTH: 100%; COLOR: #cc0000; PADDING-TOP: 150px; FONT-FAMILY: arial; TEXT-ALIGN: center;"><P style="font-size:12p... 阅读全文
posted @ 2009-11-05 12:31 Silver.Lee 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 今天为大家献上一个ajax的post例子。以下为script代码部分<script type="text/javascript">function adddata() { var typeName=$("#<%=this.typeName.ClientID%>").val(); var msg=" not be empty"; if(typeName=="") { if(m... 阅读全文
posted @ 2009-11-05 12:30 Silver.Lee 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: jQuery是一个可以简化 JavaScript™以及AJAX(Asynchronous JavaScript + XML,异步Javascript和XML)编程的Javascript库。不同于其他的Javascript库,jQuery有他自己的哲学,使你可以很简单的编写代码。这篇文章就会带领你见识一下jQuery的哲学,探讨一下他的特性以及功能,并且会做一些ajax的示例,以及如何使... 阅读全文
posted @ 2009-11-05 12:29 Silver.Lee 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 我们看下面的代码:<div id="main"><div id="content"></div></div>  当Content内容多时,即使main设置了高度100%或auto。在不同浏览器下还是不能完好的自动伸展。内容的高度比较高了,但容器main的高度还是不能撑开。  我们可以通过三种方法来解决这个问题。  一,增加一个清除浮动,让父容器知道高... 阅读全文
posted @ 2009-11-05 12:25 Silver.Lee 阅读(2017) 评论(0) 推荐(0) 编辑