上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
  2008年12月25日
摘要: MSSQL替换语句:update 表名 set 字段名=replace(cast(字段名 as varchar(8000)),'abc.com','123.com') 例如:update PE_Article set Content=replace(cast(Content as varchar(8000)),'http://news.163.com/','http://edu.cnzz.... 阅读全文
posted @ 2008-12-25 16:38 自己 阅读(61317) 评论(0) 推荐(1) 编辑
  2008年12月9日
摘要: //取得数据库表名 select name from sysobjects where xtype='u' order by name //取得数据库表的字段 select c.* from syscolumns c, sysobjects o where c.id = o.id and ... 阅读全文
posted @ 2008-12-09 10:57 自己 阅读(567) 评论(2) 推荐(1) 编辑
  2008年12月8日
摘要: 一,验证方法/// <summary> ///SQL注入过滤 /// </summary> /// <param name="InText">要过滤的字符串</param> /// <returns>如果参数存在不安全字符,则返回true</returns> public static bool SqlFilter2(stri... 阅读全文
posted @ 2008-12-08 17:57 自己 阅读(309) 评论(0) 推荐(1) 编辑
摘要: Asp.net常用的51个代码(非常实用) 1.//弹出对话框.点击转向指定页面 Response.Write(""); Response.Write(""); 2.//弹出对话框 Response.Write(""); 3.//删除文件 string filename ="20059595157517.jpg"; pub.util.DeleteFile(HttpContext.... 阅读全文
posted @ 2008-12-08 14:40 自己 阅读(486) 评论(0) 推荐(0) 编辑
  2008年11月24日
摘要: select b.* into a from ba表是不存在的 阅读全文
posted @ 2008-11-24 14:56 自己 阅读(291) 评论(0) 推荐(0) 编辑
  2008年11月20日
摘要: 调试--窗口--即时 阅读全文
posted @ 2008-11-20 09:12 自己 阅读(498) 评论(0) 推荐(0) 编辑
  2008年11月14日
摘要: 链接2005sql时,页面提示错误如下: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error: 0 - 由于目标机器积极拒绝,无法连接。) 解决方案: 主要就是一些sql服务没有启动,在 sql se... 阅读全文
posted @ 2008-11-14 09:58 自己 阅读(6714) 评论(2) 推荐(0) 编辑
摘要: 链接2005sql时,页面提示错误如下: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error: 0 - 由于目标机器积极拒绝,无法连接。) 解决方案: 主要就是一些sql服务没有启动,在 sql se... 阅读全文
posted @ 2008-11-14 09:30 自己 阅读(1518) 评论(0) 推荐(0) 编辑
  2008年11月13日
摘要: ScriptManager.RegisterStartupScript(this, this.GetType(), "", "alert('请先删除对应的小类!!')", true); 阅读全文
posted @ 2008-11-13 11:29 自己 阅读(1101) 评论(3) 推荐(1) 编辑
  2008年10月22日
摘要: 阅读全文
posted @ 2008-10-22 19:16 自己 阅读(197) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页