摘要: 1.在项目增加新项:windows 服务2,在增加的项页面上 ,右键,安装,会增加一个安装代码3,将原来 main函数里的代码剪切到 windows服务的那个cs中。4,在 main 函数中添加代码 ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new服务的名称 }; ServiceBase.Run(ServicesToRun);5,点这个项目属性,把生成的,改为 windows服务。 (另一个,改成framework 4.0 看自己的服务器环境)自己做记录用。 阅读全文
posted @ 2011-06-30 14:58 Ame 阅读(469) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>无标题页<... 阅读全文
posted @ 2010-06-30 16:36 Ame 阅读(206) 评论(0) 推荐(0) 编辑
摘要: public void CreateThumbnailImage() { string imgFile = "e:/test.jpg"; System.Drawing.Image img = System.Drawing.Image.FromFile(imgFile); System.Drawing.Image.GetThumbnailImageAbort cb = new System.D... 阅读全文
posted @ 2010-06-29 09:01 Ame 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1.首先下载   官方下载首页:http://www.fckeditor.net/download/,   需要下载FCKeditor_2.6.6和FCKeditor.Net_2.6.32.将FCKeditor_2.6.6里的文件夹fckeditor 加入到项目中,放在根目录下。3.添加FCKeditor.Net_2.6.3里的DLL到引用,或在工具箱里添加4.web.config 里添加 <... 阅读全文
posted @ 2010-06-09 10:34 Ame 阅读(302) 评论(0) 推荐(0) 编辑
摘要: op.OnClick = function(oEvent){  if(window.event) oEvent = window.event;//处理兼容性问题,获得事件对象if( oEvent.type == "click" ) //判断事件类型} 阅读全文
posted @ 2010-05-11 11:07 Ame 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 解决方法,看页面和JS的编码是否一致?或将JS打开,另存为,在出现的对话框的“保存”按钮后的向下箭头选择“编码保存”,在另外出现的对话框中选择相应的编码保存即可,一般是“gb2312”或“UFT-8”.注:如是团队项目,一定要在签出的情况下修改. 阅读全文
posted @ 2010-04-02 15:12 Ame 阅读(592) 评论(0) 推荐(0) 编辑
摘要: http://jquery-easyui.wikidot.com/tutorial 阅读全文
posted @ 2010-03-31 09:12 Ame 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 报表实现的参考:http://lixinsmiles.blog.163.com/http://www.cnblogs.com/wjhx/  http://www.cnblogs.com/hubcarl/archive/2009/10/08/1579029.html 阅读全文
posted @ 2010-01-06 11:36 Ame 阅读(207) 评论(0) 推荐(0) 编辑
摘要: [转载:http://www.cnblogs.com/Rockay/archive/2009/08/20/1550617.html刘其超]1.把列分组数据源托到矩阵的显示"列"的位置上,如不只一个,则右键点现有组,选择"插入组",重复添加2.把行分组数据源托到矩阵的显示"行"的位置上,如不只一个,可以像列组一样重复添加3.把数据列放到数据区上,如不只一个,可以像新加组一样右键选择"添加列",这样会... 阅读全文
posted @ 2010-01-06 11:23 Ame 阅读(1015) 评论(1) 推荐(1) 编辑
摘要: 一。先引用ajaxpro.dll二。web.config 中需加入的1.在 <system.webServer>节点中<handlers>  <!--ajaxpro--> <!--<add name="AjaxPro" verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFac... 阅读全文
posted @ 2009-12-23 09:35 Ame 阅读(401) 评论(1) 推荐(0) 编辑