摘要: 查看:exec p_lockinfo 0,1 杀死:exec p_lockinfo 1,1 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->set ANSI_NULLS ON set QUOTED_IDENTIFIER O... 阅读全文
posted @ 2008-09-27 14:46 自由精灵 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: #region 绑定RadioButtonList或者DropDownList(相同) private void DataBindToRadioButtonList() { DataSet ds = null; RadioProdunt.Items.Clear(); RadioProdunt.Items.Add("全部"); ... 阅读全文
posted @ 2008-08-12 13:59 自由精灵 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 一次只合并一列 #region 合并gridview中某一列相同的单元格 public static void CellTogether(int cellIndex, GridView gvTemp) { int i = 0; int rowSpanNum = 1; whil... 阅读全文
posted @ 2008-08-06 13:38 自由精灵 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 一,XMLHttpRequest 对象 是ajax的主要工作对象是 一个完整的声明一个兼容各浏览器的XMLHttpRequest 的js代码如下 在ajax编程中,还会常用到的一个语句是 document.getElementById("phone").value ,取得值 调用request对象来向服务器发请求时,js代码如下, function getCustomerInfo() {... 阅读全文
posted @ 2008-07-28 09:18 自由精灵 阅读(295) 评论(0) 推荐(0) 编辑
摘要: if(document.all.TextBoxTimeStart.value!=""&&document.all.TextBoxTimeEnd.value!="") { var checkStartDate = document.all.TextBoxTimeStart.value; var checkEndDate = docu... 阅读全文
posted @ 2008-07-14 17:14 自由精灵 阅读(2287) 评论(0) 推荐(0) 编辑
摘要: 在UpdatePanle总使用javascript如:Response.Write(""); 时,弹出来一个提示对话框 Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed . Commo... 阅读全文
posted @ 2008-07-06 17:37 自由精灵 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2008-07-03 11:29 自由精灵 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: 发生意外错误0x8ffe2740->解决方法 在IIS管理器中更改网站绑定端口为除80端口外的其它端口. 停止正在使用80端口的应用程序,然后从IIS管理器中启动网站. 可以使用诸如TCPView或FPort等第三方工具来判断其它正在使用80端口的其它应用程序. 如有WEBxunle的话经常占用80端口。 阅读全文
posted @ 2008-07-03 09:16 自由精灵 阅读(321) 评论(0) 推荐(0) 编辑
摘要: JS判断是否为数字,是否为整数,是否为浮点数 正则表达式方法 function checkRate(input) { var re = /^[0-9]+.?[0-9]*$/; //判断字符串是否为数字 //判断正整数 /^[1-9]+[0-9]*]*$/ if (!re.test(input.rate.value)) { aler... 阅读全文
posted @ 2008-07-01 08:19 自由精灵 阅读(5138) 评论(0) 推荐(0) 编辑
摘要: AjaxPro的官网是http://ajaxpro.info/,你可以下载到最新的AjaxPro组件。如果你想下载,可以点里这里。 在下载的的文件中,有VS2005的模板,安装了VS2005模板,就可以在VS2005中直接建立AjaxProWebSite了,在建立的AjaxProWebSite中,有一个默认的Demo,其实通过它,就能够完全了解AjaxPro的用法。 如果你用的是.NET2.0,且... 阅读全文
posted @ 2008-06-26 10:03 自由精灵 阅读(1721) 评论(0) 推荐(0) 编辑