剑花 烟雨

   江南  好 风景旧曾谙 日出江花红胜火 春来江水绿如蓝 能不忆东北

理想中的建筑师应该是一个诗人、数学家、精通历史、精通心理学、熟悉音乐、了解医学、还要具备天文学和计算的基本知识。
                                                                                                                         ------------------公元前25年,罗马建筑学家Vitruvius
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年6月21日

摘要: 时间很长没有来这里写点东西了,由于技术从.net转向java,加上不能在工作的时候上网,所以这里就荒废了。今天忽然心血来潮,想看看自己的这块小地方,进来发个文章,让这里重新用起来,可以写一些公共的东西在这里。不管是J2EE还是.NET公共的东西,这样就不失这里作为.net博客的栏目。 不想,连我自己的地址都找不到了,还是去邮箱里把链接找出来,然后就不知道用户名,还去邮箱。最后一步密码,真是想不起来,试了几个,都不是。当时也不知道是用什么密码来着。最后最后,没有办法,密码重置吧。看来真是时间久了不用的东西就会忘记,或是年纪大了吧。 终于可以回来发随笔了。在自己的指尖可以流出一些文字,这些文字有些可以提高一点生产力,有些只是一些小技巧。原来以为转了工具了,就没有办法再在这里写东西,今天倒是想起来,倒是像上面所说的,可以写一点东西的。不过以后写只能在业余时间了,不能把编程或学习中的感想写在这里,也许经过思考的会更加凝炼吧。 也许这是个分水岭,至于分出什么来,却不一定,总之是好事情。 阅读全文

posted @ 2009-06-21 11:07 落花人独立 阅读(427) 评论(0) 推荐(0) 编辑

2008年7月9日

摘要: 当试图对运行在 Web 服务器上的应用程序进行调试时,有时可能会得到此错误信息: Unable to start debugging on the Web server 如果你得到的错误信息是比这个更长的消息,这个主题下面的子主题对其做了说明. 如果你遇到了这个错误,有几点是需要被考虑的.第一就是things to check,然后基于你的机器的硬件和软件配置来考虑其它的项目. Things to Check Web Applications on Remote Servers Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions Manually Attaching Debug Request Could Not Be Processed By the Server Due to Invalid Syntax b 阅读全文

posted @ 2008-07-09 10:18 落花人独立 阅读(3758) 评论(0) 推荐(0) 编辑

2008年6月20日

摘要: Introduction I couldn't find a lot of documentation on how to debug the classic ASP pages in VS 2005 running on Windows XP and IIS 5.0. So I tried few stuff and finally figured it out. I added those steps in this article. Itss very easy and takes only 5 minutes. I have not tried it with the VS 2005 WebSite model and used the Web Application Project instead. So if you do not have the web application project add-in installed you can download it from here. Steps 1. Go to Co 阅读全文

posted @ 2008-06-20 16:19 落花人独立 阅读(729) 评论(0) 推荐(0) 编辑

2008年5月9日

摘要: (1)NULL null 关键字是表示不引用任何对象的空引用的文字值。null 是引用类型变量的默认值。那么也只有引用型的变量可以为NULL,如果 int i=null,的话,是不可以的,因为Int是值类型的。 (2)DBNULL DBNull在DotNet是单独的一个类型,该类只能存在唯一的实例,DBNULL.Value,DBNull唯一作用是可以表示数据库中的字符串,数字,或日期,为什么可以表示原因是DotNet储存这些数据的类(DataRow等)都是以 object 的形式来储存数据的。对于 DataRow , 它的 row[column] 返回的值永远不为 null , 要么就是具体的为column 的类型的值 。 要么就是 DBNull 。 所以 row[column].ToString() 这个写法永远不会在ToString那里发生NullReferenceException。DBNull 实现了 IConvertible 。但是,除了 ToString 是正常的外,其他的ToXXX都会抛 阅读全文

posted @ 2008-05-09 19:35 落花人独立 阅读(1791) 评论(0) 推荐(0) 编辑

摘要: 根据:http://www.cnblogs.com/DonLiang/archive/2007/05/08/739078.html 找到:Tab作者Ronald Buckton的文章:http://blogs.msdn.com/rbuckton/pages/ajaxskinning.aspx 在这里提到了如何去修改ajax__tab_xp样式 ,然后应用到自己的项目中去。但是依然会有问题: I am trying to skin the tab controls. When I used the above styles I lost the styles that define the tabs and all you see is text (rather than the expected visual appearance of tabs with text labels that contain the names of my tabs). My guess is that things have changed so the styles for 阅读全文

posted @ 2008-05-09 14:29 落花人独立 阅读(4501) 评论(1) 推荐(0) 编辑

2008年4月25日

摘要: P8是开始活动,p0,t4,t0,t3,p4,p1,p5共同组成一个选择;p6,p2,p7,t10共同组成一个AND JOIN;P10是终止活动。如图所示。这个流程处理的是一些数据,其中处理数据的活动T9,T5,T1,T6,T8有顺序的关系,就是说只有T9处理完的数据,才在T5,T1,T8中选择一个处理T9输入的数据。T9等数据处理活动中是一直有数据在输入的,但是只要T9有数据输出,那么就可以选择T5, T1,T6其中之一继续进行数据处理。也就是说在T9还没有结束前,其它三个活动之一就要启动。对于其后续的活动T8也是一样的工作方式。现在的问题就是,有没有一种工作流管理软件(开源或商业都可以)可以支持在当前活动没有结束的情况下启动下一个活动?并且支持如上所述的业务过程。是否支持WFMC规范的工作流管理软件都不支持这种流程的执行方式?BizTalk和Domino是否支持这样的过程? 阅读全文

posted @ 2008-04-25 18:48 落花人独立 阅读(1986) 评论(12) 推荐(0) 编辑

2008年4月17日

摘要: 以下是三套目前Web 2.0网站流行试用的颜色元素:NeutralsShiny silver [#EEEEEE]Reddit white [#FFFFFF]Magnolia Mag.nolia [#F9F7ED]Interactive action yellow [#FFFF88]Qoop Mint [#CDEB8B]Gmail blue [#C3D9FF]Shadows Grey [#36393... 阅读全文

posted @ 2008-04-17 10:07 落花人独立 阅读(1212) 评论(1) 推荐(0) 编辑

2008年4月11日

摘要: 在使用CascadingDropdownList的时候需要注意的问题: (1)只能通过Web Service的方式来使用这个控件 (2)创建的Web Service 如下 [System.Web.Script.Services.ScriptService] [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class BasicTypes : System.Web.Services.WebService { public BasicTypes() { //Uncomment the following line if using designed components //InitializeComponent(); } b 阅读全文

posted @ 2008-04-11 16:17 落花人独立 阅读(777) 评论(1) 推荐(0) 编辑

摘要: 1)When you download Ajax Control Toolkit,with the tookite intalled there a codesamples for you,so when you began to use it in your projects it is the best resources to you . 2)For China ,there are some blogs for you,Terry Lee is the best one. 3)You must resure your version of Ajax tookites and you must have some basic knowleges of Ajax and The tookies you have.ie. how the tookies to be configed and the means to use the controls. 阅读全文

posted @ 2008-04-11 14:24 落花人独立 阅读(519) 评论(0) 推荐(0) 编辑

摘要: 在使用Ajaxtookite中的UpdatePannel进行异步更新,运行时会出现如下的一个popup窗口,提示你如下信息,然后ok一下就没有什么了。解决办法列在下面: Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.R 阅读全文

posted @ 2008-04-11 13:13 落花人独立 阅读(3459) 评论(0) 推荐(0) 编辑

2008年3月29日

摘要: cpn tools 's introduction and guid.from http://wiki.daimi.au.dk/cpntools-help/getting_started_with_cpn_.wiki 阅读全文

posted @ 2008-03-29 11:32 落花人独立 阅读(1714) 评论(2) 推荐(0) 编辑

2008年3月26日

摘要: 数据绑定表达式在Asp.net的程序开发过程中经常用到,虽然是很基础的知识,但是常常被忽略了,园子里有人总结了,怕以后丢了,就收在自己的博客里,以备查用。 阅读全文

posted @ 2008-03-26 08:57 落花人独立 阅读(1815) 评论(2) 推荐(0) 编辑

2008年3月22日

摘要: 一般的操作方法,使两个ListBox之间可以相互添加、删除。 阅读全文

posted @ 2008-03-22 11:15 落花人独立 阅读(1612) 评论(0) 推荐(0) 编辑

2008年3月10日

摘要: http://www.cnblogs.com/candywyq/archive/2007/07/24/830021.html 1、从字符串中提取子串 StringBuilder 类没有支持子串的方法,因此必须用String类来提取。 string mystring="My name is ynn."; //Displays "name is ynn." Console.WriteLine(mystring.Substring( 3 )); //Displays "ynn" Console.WriteLine(mystring.Substring( 11,3 )); 2、比较字符串 String 类有四种方法:Compare( )、CompareTo( )、CompareOrdinal( )、Equals( )。 Compare( )方法是CompareTo( )方法的静态版本。只要使用“=”运算符,就会调用Equals( )方法,的以Equals( )方法与“=”是等价的。CompareOrdin 阅读全文

posted @ 2008-03-10 21:14 落花人独立 阅读(24283) 评论(0) 推荐(0) 编辑

2008年3月8日

摘要: http://www.cnblogs.com/adaiye/archive/2008/03/07/dotnetlinks.html 阅读全文

posted @ 2008-03-08 09:27 落花人独立 阅读(531) 评论(0) 推荐(0) 编辑

2008年3月3日

摘要: http://www.cnblogs.com/JustinYoung/category/73576.html 阅读全文

posted @ 2008-03-03 20:00 落花人独立 阅读(410) 评论(0) 推荐(0) 编辑

摘要: This page collects a number of links to locations with information about Petri Net tools and related information.http://www.informatik.uni-hamburg.de/TGI/PetriNets/tools/ 阅读全文

posted @ 2008-03-03 10:13 落花人独立 阅读(1063) 评论(0) 推荐(0) 编辑

摘要: Petri-net及在ERP中的应用,FSM(有限状态机的介绍) 阅读全文

posted @ 2008-03-03 10:03 落花人独立 阅读(681) 评论(1) 推荐(0) 编辑

2008年2月29日

摘要: 我们在使用一些第三方的编程框架的时候,或在操作业务代码的时候经常会产生IList,有时需要转成DataSet方便处理,下面是从园子里的其它人那里转来的代码。 阅读全文

posted @ 2008-02-29 14:47 落花人独立 阅读(1934) 评论(0) 推荐(0) 编辑

2008年2月24日

摘要: 一、页面加载控件: 控件使用脚本: 阅读全文

posted @ 2008-02-24 22:47 落花人独立 阅读(2935) 评论(1) 推荐(0) 编辑

摘要: http://www.cnblogs.com/luohuarenduli/admin/www.cnblogs.com/leadzen/archive/2008/02/24/1073404.html写的不错。 阅读全文

posted @ 2008-02-24 20:55 落花人独立 阅读(604) 评论(3) 推荐(0) 编辑

2008年2月21日

摘要: 在ModalDialog中操作父窗口对象 1、不能使用window.parent Window.parent是用来在frame中进行操作的,在对话框中不能用来操作父窗口对象 2、正确的做法 调用modaldialog时通过传参数的方式操作 例: 需求 父窗口页面为a.html 子窗口页面为b.html。a.html中有文本框id为test1,在打开的对话框中点击按钮,将a.html的文本框值改为“子窗口值”。 实现 打开对话框时把test1作为参数传给子窗口,在子窗口中获取参数,将参数对象(即a.html中传过来的text对象)的value属性值设置为“子窗口值” 注意:这里只能传id,不能传name a.html代码如下 meta 阅读全文

posted @ 2008-02-21 20:30 落花人独立 阅读(5126) 评论(0) 推荐(0) 编辑

2008年2月15日

摘要: 我安装的时候差不多用了三个小时,当时就是CPU占用100%,硬盘也不闪动,但是就是这样安完了. 阅读全文

posted @ 2008-02-15 11:06 落花人独立 阅读(444) 评论(0) 推荐(0) 编辑

2008年2月1日

摘要: So here is my solution. I'll cover the main points of interest and if you want to see more, I have uploaded all the source and example to the new MSDN Code Gallery. http://code.msdn.microsoft.com/AlwaysShowHeaderFoot Start out by extending the GridView control and add the following structure. The most important part here is to override the PerformDataBinding method. As you can see here. I am intercepting the data and making sure there is at lease one r 阅读全文

posted @ 2008-02-01 23:54 落花人独立 阅读(855) 评论(2) 推荐(0) 编辑

2008年1月25日

摘要: 使用VS 2005开发的朋友应该都知道,编译一个很多页面的网站工程是很费时间的,那有没有什么办法可以提高编译速度呢? 答案是肯定的,请按照以下的优化步骤来做,包你以后不会再为编译网站而感到痛苦。 优化步骤: 1. 删掉bin目录下的所有.dll.refresh文件。注意:删掉之后,你通过文件路径引用的dll,VS 2005将不会帮你自动更新到bin目录里。也就是说如果你引用的dll更新了,你必须自己手动重新引用一次。 2. 最好把/app_code 目录的.cs文件移到一个dll工程中。因为编译个dll工程会比编译网站工程里/app_code目录里.cs文件要快,而且移走/app_code里的.cs文件还会提高.aspx页面中设计试图和代码试图的切换速度。 3. 打开网站工程的属性页,选择"Build” Tab页,把"Before running startup page"下拉框由"Build W 阅读全文

posted @ 2008-01-25 20:17 落花人独立 阅读(1833) 评论(0) 推荐(0) 编辑

2008年1月21日

摘要: 以下是我对HTC相关网页的整理,对于原内容进行了编辑: 1.简介一 .NET里面的TREEVIEW控件是采用HTC制作的。 HTC (HTML Component) HTML组件 HTC就是基于脚本的面向对象编程技术。要有Javascript和Html的基础。而其中DOM 文档对象模型将会在HTC中成为主要的应用点。 采用HTC,服务端程序不用再考虑样式之类的问题,所有的样式都可以在HTC中进行设置,服务端只需要装填数据,然后HTC根据设置的属性来显示出想要的效果。在做一个TreeView控件的时候,甚至把递归都写在了HTC里面,服务端只是把数据取出来而已。 另外的好处是复用,大家采用统一的HTC控件,带来了风格的一致,同时节省了大量的编码时间,很多不懂Javascript的程序员也能非常容易的使用。 下面是学习 阅读全文

posted @ 2008-01-21 22:18 落花人独立 阅读(1034) 评论(2) 推荐(0) 编辑

摘要: Overview I've recently implemented an enterprise application using NHibernate. In order to isolate the UI from changes to the domain model, the Data Transfer Object pattern (Fowler 03, MS) was decided upon. This gave us the additional benefit of being able to create our Dto's in such a way as that they would be easily bound to the UI, reducing complexity in the front end and giving us the ability to support different UI's with minimal effort. The application architecture is s 阅读全文

posted @ 2008-01-21 19:29 落花人独立 阅读(740) 评论(0) 推荐(0) 编辑

摘要: J2EE开发中大量的专业缩略语很是让人迷惑,尤其是跟一些高手讨论问题的时候,三分钟就被人家满口的专业术语喷晕了,PO VO BO DTO POJO DAO,一大堆的就来了(听过老罗对这种现象的批判的朋友会会心一笑)。 首先声明偶也不是什么高手,以下总结都是自己的体会。不对之处请您多指教。 PO: persistant object持久对象 最形象的理解就是一个PO就是数据库中的一条记录。 好处是可以把一条记录作为一个对象处理,可以方便的转为其它对象。 BO: business object业务对象 主要作用是把业务逻辑封装为一个对象。这个对象可以包括一个或多个其它的对象。 比如一个简历,有教育经历、工作经历、社会关系等等。 我们可以把教育经历对应一个PO,工作经历对应一个PO,社会关系对应一个PO。 建立一个对应简历的BO对象处理简历,每个BO包含这些PO。 这样处理业务逻辑时,我们就可以针对BO去处理。 阅读全文

posted @ 2008-01-21 19:11 落花人独立 阅读(3445) 评论(5) 推荐(3) 编辑

摘要: 层间数据传输的过程就是服务的执行者将数据返回给服务的调用者的过程。在非分布式系统中由于有类似Open session in view这样的“怪胎解决方案”的存在,所以层间数据传输的问题并没有充分暴露出来,但是在分布式系统中我们就能清楚地意识到层间数据传输的问题,从而能够更合理的进行设计。为了暴露更多问题,本章讨论的层间数据传输假定的场景是“服务器将执行的数据结果如何传递给远程客户端”,尽管在实际场景中服务的提供者和服务的调用者有可能处于同一虚拟机中(比如Web端与应用服务部署在同一服务器中)。 10.1 什么是DTO 在分布式系统中,客户端和服务器端交互有两种情形:第一个是客户端从服务器端读取数据;第二个是客户端将本身的数据传递给服务器端。 当有客户端要向服务器端传输大量数据的时候,可以通过一个包含要传输的所有数据的方法调用来完成。这在小数据量的时候缺点并不明显,但是如果要传递包含有大量信息的数据的时候,这将变得难以忍受。下面的方法是任何人看了都会害怕的: public void save(String i 阅读全文

posted @ 2008-01-21 18:55 落花人独立 阅读(5910) 评论(2) 推荐(1) 编辑

摘要: Using NHibernate and Log4Net in ASP.NET 2.0 applications Introduction Hibernate and Log4J are a de-facto standard of ORM (Object-relational mapping) and logging (respectively) in Java world. That's why both were ported to .NET runtime environment. NHibernate is ORM solution and is intended for transparent binding .NET classes to database tables. NHibernate was designed to reduce time efforts to switch application to another database provider. It is achieved 阅读全文

posted @ 2008-01-21 15:58 落花人独立 阅读(1863) 评论(0) 推荐(0) 编辑

count hit
欢迎您到紫阁阳光坐客