放逐忧伤

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

08 2011 档案

摘要:用js获取url网址信息执行 用javascript获取url网址信息 代码效果如下location.host=www.99n9.comlocation.hostname=www.99n9.comlocation.href=http://www.99n9.com/bc/2008/0306/article_1860.htmllocation.pathname=/bc/2008/0306/article_1860.htmllocation.protocol=http:详细介绍 window.location方法获取URL统一资源定位符 (Uniform Resource Locator, URL) 阅读全文
posted @ 2011-08-16 17:55 放逐忧伤 阅读(290) 评论(0) 推荐(0)

摘要:在sql server中修改表的列名,可以使用sp_renamesp_rename 'change.Times','TIMES1','column'change是表名,times是原来的列名,times1是新的列名注意:times1前面不要有表名,否则,更改后的列名为change.times1 阅读全文
posted @ 2011-08-12 10:21 放逐忧伤 阅读(3685) 评论(0) 推荐(0)

摘要:JAXA去调用AjaxPro的方法,注意参数的类型,比如 [AjaxPro.AjaxMethod] public string Delete(string ids) { string msg = string.Empty; if (AdminBll.Delete(ids)) { msg = "ok"; } else { msg = "error"; } return msg; }Javascript如果调用是这样的<script> Delete(1);</script>会出错,正确调用为<script> Delete( 阅读全文
posted @ 2011-08-06 12:51 放逐忧伤 阅读(217) 评论(0) 推荐(0)

摘要:tools-Customize toolbars里勾palette 就能出现生成错误的时候可以吧CHECKMODEL关掉, 阅读全文
posted @ 2011-08-05 13:31 放逐忧伤 阅读(426) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Globalization;using System.Threading;namespace WinMR{ public class hzzpy { /**//// <summary> /// 包含字符 ASC 码的整形数组。 /// </summary> private static int[] pv = new int[] { - 阅读全文
posted @ 2011-08-04 17:48 放逐忧伤 阅读(487) 评论(0) 推荐(0)