上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 64 下一页

2009年5月23日

检测某个SQL语句的执行性能

摘要: SET STATISTICS io ON SET STATISTICS time ON go…………………SQL语句……………………… 阅读全文

posted @ 2009-05-23 16:33 王培 阅读(162) 评论(0) 推荐(0) 编辑

2009年5月9日

JS中的转义字符

摘要: \b 退格\t TAB,水平\v TAB 垂直\n 回车换行\r 换行\" 双引号\\ \\'单引号 \uhhhh 十六进制编码的Unicode字符 阅读全文

posted @ 2009-05-09 16:59 王培 阅读(1098) 评论(1) 推荐(0) 编辑

2009年5月8日

Javascript 操作select控件大全(新增、修改、删除、选中、清空、判断存在等)

摘要: 转自:http://www.cnblogs.com/zyh-nhy/archive/2007/08/08/847876.html1判断select选项中是否存在Value="paraValue"的Item2向select选项中加入一个Item3从select选项中删除一个Item4删除select中选中的项5修改select选项中value="paraValue"的text为"paraText"6... 阅读全文

posted @ 2009-05-08 12:19 王培 阅读(216) 评论(0) 推荐(0) 编辑

2009年4月28日

关于TextBox设置成MultiLine属性后控制字数的解决方法

摘要: 使用正则表达式:^(.|\n){0,50}$ 例如: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文

posted @ 2009-04-28 17:13 王培 阅读(349) 评论(0) 推荐(0) 编辑

2009年4月26日

读《c#与算法--快速排序》随笔

摘要: 《c#与算法--快速排序》地址: http://www.cnblogs.com/isun/archive/2009/04/25/1443603.html 随手写的测试DEMO,web程序不精确,仅供参考。 测试结果: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.... 阅读全文

posted @ 2009-04-26 23:17 王培 阅读(167) 评论(0) 推荐(0) 编辑

ASP.NET显示JS提示框

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", ""); 阅读全文

posted @ 2009-04-26 21:00 王培 阅读(290) 评论(0) 推荐(0) 编辑

2009年4月25日

T-SQL中REPLACE的用法_字符串替换

摘要: REPLACE 用第三个表达式替换第一个字符串表达式中出现的所有第二个给定字符串表达式。 语法 REPLACE ( 'string_expression1' , 'string_expression2' , 'string_expression3' ) 参数 'string_expression1' 待搜索的字符串表达式。string_expression1 可以是字符数据或二进制数据。 'str... 阅读全文

posted @ 2009-04-25 17:37 王培 阅读(2917) 评论(0) 推荐(0) 编辑

ASP.NET页面刷新页面后保持原位置

摘要: 方法:设置Page.MaintainScrollPositionOnPostBack 属性为true 解释:当网页回发到服务器时,用户将返回到该页的页首。在较长的网页中,这意味着用户必须将页滚动到该页的上一位置。 当 MaintainScrollPositionOnPostback 属性设置为 true 时,用户将返回到该页的上一位置。 注意... 阅读全文

posted @ 2009-04-25 11:03 王培 阅读(554) 评论(0) 推荐(0) 编辑

2009年4月22日

Asp.net(C#)对文件操作的方法(读取,删除,批量拷贝,删除...)

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.W... 阅读全文

posted @ 2009-04-22 22:50 王培 阅读(734) 评论(0) 推荐(0) 编辑

2009年4月21日

asp.net小数点四舍五入的方法

摘要: 转自:http://blog.sina.com.cn/s/blog_4e6dffee0100cbc2.html 这里也有:http://www.diybl.com/course/4_webprogram/asp.net/netjs/20071112/85701.html 1.只要求保留N位不四舍5入 float f = 0.55555f;int i =(int)(f * 100)... 阅读全文

posted @ 2009-04-21 17:25 王培 阅读(638) 评论(0) 推荐(0) 编辑

上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 64 下一页

导航