re: 【.NET正则表达式库】v1.0上线 PointNet 2008-06-25 16:56
对这个比较感兴趣,申请加入
@wbb
dialogArguments 是父窗口的名字
re: 一段非常简单的让图片自动切换js代码 PointNet 2008-05-06 09:31
@Vincent Love
谢谢修改
re: 一段非常简单的让图片自动切换js代码 PointNet 2008-04-30 19:51
<a href="#"><img id=obj src ="1.jpg" border =0 /></a>
@BAsil
是的 ,不过你也可以把当前编辑的焦点节点id存入cookie,然后初始化的时候读取
treeInit() 也是客户端方法,怎么会刷新呢
你是怎么调用的
注意大小写
Alert(); 不是 ALERT()
function Alert(message,callback)
callback 指的是弹出的对话框按确定后要执行的方法 ,如果不执行任何操作可以赋值为空
@Hafeyang
是啊,说得有道理,的确很费时间,有点错误查询起来比较费时间,如果要有个IDE还是不错的
re: 匹配Unicode字符的正则表达式(中文) PointNet 2008-03-06 10:51
有个判断注册用户名的js正则表达式问题
var patrn = /^(([a-zA-Z0-9]|[_-]){4,20}|[\u4e00-\u9fa5]{2,10})+$/;
由4-20位的大小写英文字母、0-9的数字、下划线“_”、减号“-”或者2-10个汉字组成。
大体上这个可以满足,但回发现如果既有中文,又有字符的话,需要中文满足2个以上,字符4个以上,即(你好ab)是不满足的
而实际应该是满足的,即中文2个就不需要字符一定也要4个的要求了,反过来也一样,
特别感谢SuMic同学:
后来我们一起研究发现如果要有多个editor实例的话
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
这种方法不适用的,要改为
var oEditor = FCKeditorAPI.GetInstance(FCK.Name)
再次感谢SuMic同学
re: 用T-SQL语言还原数据库 PointNet 2008-01-16 13:49
@Ψιζσεα.
不是2000的 是2005的
re: 天津.NET俱乐部成立了! PointNet 2008-01-15 14:53
博客园账号: PointNet
电子信箱: goody9807@gmail.com
re: 博客园技术交流QQ群 PointNet 2008-01-15 14:44
52580254
DUDU加一下 谢谢了
re: Scott Guthrie 确实一偶像! PointNet 2008-01-15 14:42
辛苦了,兄弟
find out what the keyCode for 全角空格:
then do something similarly on the textbox
试过了思归的方法,得到全角code=229
re: HttpModule是如何工作的 PointNet 2007-12-11 20:24
///<summary>
///说明:用来实现自己的HttpModule类。
///作者:文野
///联系:stwyhm@cnblogs.com
上面写着呢
我只是收藏一下
re: 如何去掉重复记录的Sql语句写法 PointNet 2007-11-23 13:18
SELECT * into #F1 FROM article WHERE ArticleID IN(SELECT MIN(ArticleID) FROM article GROUP BY title)
truncate table article
insert article select Title, body, SourceUrl, Status, CreateTime, PublishTime from #F1
drop table #F1
去掉重复记录的Sql语句
@小S
晕,我留着自己用的,你要是知道也不用说那么多话,写这些东西就为了显示自己吗?
博客园总有一些这样的人,无语。。。。
@seamusic
当然是转的,上面已经写得很清楚,原文地址
我放到这里是收藏留着以后能用到的
@ Tony Qu 以前也早就用过这东西了,但没遇到你说的问题
这次重新用时出现了404问题 ,发现路径设置错误了,所以记下来
re: 博客园手机版 PointNet 2007-10-22 15:45
恭喜一下,希望博客园越办越好!
re: 欢迎加入ASP.NET Atlas学习团队! PointNet 2007-09-15 13:58
申请加入
博客园用户名:PointNet
Email: goody9807@gmail.com
re: 实际上我没有选择的余地 PointNet 2007-08-27 22:19
非常理解你!永远支持你!
re: 一个用来自动管理大容量表的Sql脚本 PointNet 2007-08-27 20:43
@代码乱了
当然要起个job定时跑啦
re: 一个用来自动管理大容量表的Sql脚本 PointNet 2007-08-27 10:15
当然可以了
re: Log4Net使用指南 PointNet 2007-08-24 16:21
HOW TO Configure log4net in a Web Service
log4net can be used to add logging to your web service. All you have to do is to initialise the logging environment in your Global.asax and configure log4net using the Web.config file.
In your Web Service you should define a Global.asax file. The initialisation code can go directly into the Global.asax or it can go into a code behind file Global.asax.cs.
To define the logging all in the Global.asax file you should ensure that it contains something like:
<%@ Application Language="C#" %>
<script runat="server">
private void Application_Start(Object sender, EventArgs e)
{
log4net.Config.DOMConfigurator.Configure();
}
</script>
Alternatively if you are using a code behind file then your Global.asax should contain:
<%@ Application Codebehind="Global.asax.cs" Inherits="MyApp.Global" %>
and your Global.asax.cs should have some code like this:
namespace MyApp
{
public class Global : System.Web.HttpApplication
{
/// <summary>
/// Called when the web application starts
/// </summary>
/// <param name="sender">who</param>
/// <param name="e">what</param>
protected void Application_Start(Object sender, EventArgs e)
{
// Initialise the logging when the application loads
log4net.Config.DOMConfigurator.Configure();
}
}
}
The Application_Start method will be called automatically then the Web Service is loaded (or reloaded). As you can see we use this opportunity to initialise the log4net environment.
Each Web Application must live in its own directory and this directory should have a Web.config file that is used to configure the Web Application. This is also the configuration file used by log4net.
An example Web.config including log4net configuration might be:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<!-- Web Service standard configuration -->
<system.web>
<!-- ... -->
</system.web>
<!-- Logging Configuration -->
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender,log4net">
<param name="File" value="c:\\my-app-log.txt" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="10" />
<param name="MaximumFileSize" value="5MB" />
<param name="RollingStyle" value="Size" />
<param name="StaticLogFileName" value="true" />
<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default priority -->
<root>
<priority value="WARN" />
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
</configuration>
试试把老账户里的C:\Documents and Settings\你的账户名\Application Data下的所有文件夹和文件都删除,@空中鸟
re: Xsl实践总结(二) PointNet 2007-08-16 12:08
@暗香浮动
哪些没有明白啊
re: Xsl实践总结(二) PointNet 2007-08-15 20:24
@tes
以上是本人实践中的一些经验,只是在这里记录一下和大家分享
像你这样的人连自己博客的链接也不留
re: Xsl实践总结(二) PointNet 2007-08-15 20:23
@slightboy
我用的是
XalanJ 2.5.2
re: Xsl实践总结(二) PointNet 2007-08-15 15:01
@slightboy
不太清楚你说的意思,请指点!
re: Xsl实践总结(一) PointNet 2007-08-09 15:02
$Current.Scripts 代表什么 从哪里定义的
re: Xsl实践总结(一) PointNet 2007-08-09 15:01
@slightboy
多谢指点,这个没有用过
re: Xsl实践总结(一) PointNet 2007-08-08 18:50
@yi
Java 支持DataSet吗
re: Xsl实践总结(一) PointNet 2007-08-08 14:11