12 2009 档案

摘要:从http://ftp.apnic.net/apnic/dbase/tools/获取地址shell> wget http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz shell> tar xzvf ripe-dbase-client-v3.tar.gzshell> cd whois-3.1shell&... 阅读全文
posted @ 2009-12-27 17:13 大力 阅读(1113) 评论(1) 推荐(0)
摘要:文件操作,最难的部分就是编码问题了。using System;using System.Collections.Generic;using System.Text;using System.IO;namespace Microshaoft.Text{ #region Class IdentifyEncoding..... /// <summary> /// 检测字符编码的类 /// &... 阅读全文
posted @ 2009-12-26 19:25 大力 阅读(4961) 评论(1) 推荐(0)
摘要:今天一台MSSQL2000出问题,SQLSERVERAGENT服务又启不过来,胡乱撮写的一个脚本。 '*******************************************************************' 目的:当MSSQL的SQLSERVERAGENT启不过来时,可以用这个脚本来备份全部数据库,也可以做成计划任务来执行' 注意还原master数据库要用单用户启动... 阅读全文
posted @ 2009-12-25 19:47 大力 阅读(387) 评论(0) 推荐(0)
摘要:mssql 的sp_help好难看。//mysql的desc/ 阅读全文
posted @ 2009-12-22 10:06 大力 阅读(208) 评论(0) 推荐(0)
摘要:<script language=javascript> function reloadpage() { parent.parent.location.reload(); parent.parent.GB_hide(); } </script> <a href="javascript:reloadpage()">关闭 </a> http://gexc... 阅读全文
posted @ 2009-12-20 15:15 大力 阅读(618) 评论(0) 推荐(0)
摘要:获取一组radio被选中项的值 var item = $('input[@name=items][@checked]').val(); 获取select被选中项的文本 var item = $("select[@name=items] option[@selected]").text(); select下拉框的第二个元素为当前选中值 $('#select_id')[0].selectedIndex... 阅读全文
posted @ 2009-12-18 15:14 大力 阅读(280) 评论(0) 推荐(0)
摘要:SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')http://support.microsoft.com/kb/321185/zh-cn 阅读全文
posted @ 2009-12-18 09:38 大力 阅读(294) 评论(0) 推荐(0)
摘要:[代码]IE8取不到 select 的option值,而IE7正常,可以声明用IE7来解析页面<metahttp-equiv="X-UA-Compatible"content="IE=EmulateIE7"/> 阅读全文
posted @ 2009-12-14 13:20 大力 阅读(1995) 评论(0) 推荐(0)
摘要:FormView Web 服务器控件事件在对代码能够响应的绑定数据进行分页和更新的过程中,FormView 控件会引发许多事件。有关使用一些 FormView 控件事件的示例,请参见使用 FormView Web 服务器控件修改数据。http://msdn.microsoft.com/zh-cn/library/ms228210(VS.80).aspx 阅读全文
posted @ 2009-12-12 20:32 大力 阅读(287) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-12-03 09:56 大力 阅读(559) 评论(0) 推荐(0)