导航

随笔分类 -  编程开发 - DotNET

摘要:原文地址:http://hi.baidu.com/qdseashore/item/38f1153e9d0143637d034b7a在做项目中,往往需要在查询基类模板窗口内做主细关系Grid,引用一下代码可减少工作量,只需给此过程传递主、细SQL语句以及关联的关键字段即可完成如图所示的效果:#regi... 阅读全文

posted @ 2014-06-11 08:44 eastson 阅读(907) 评论(0) 推荐(0)

摘要:原文地址:http://www.byywee.com/page/M0/S215/215725.htmlC#:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.D... 阅读全文

posted @ 2014-05-11 18:28 eastson 阅读(716) 评论(0) 推荐(0)

摘要:Mini HTTP Server which can be embed in EXE,Writen in C#(.net framework 2.0).HTTP request dispatch/route, you can register the handlers for a specific url. Url match using start with in order, so that register the more specific in first. For example:server.RegisterHandler("/index/1", FirstI 阅读全文

posted @ 2013-11-30 09:01 eastson 阅读(599) 评论(0) 推荐(0)

摘要:MyGeneration是一个功能很强大的代码生成工具。通过编写包含各种类型脚本(C#,VB.Net,JScript,VBScript)的模板,通过数据库的表内容,生成你需要的各种代码。你可以用它来生成ORM的实体类,存储过程,SQL语句等等。我甚至用它来生成Asp.Net的页面(呵呵,我很懒)。MyGeneration提供了强大的在线模版库,你可以通过访问其网站或者使用Template Browser中的在线模版功能按钮寻找你需要的模版。当然你也可以根据需要自己写模板。项目主页:http://www.mygenerationsoftware.com/portal/default.aspx 阅读全文

posted @ 2013-11-29 17:06 eastson 阅读(484) 评论(0) 推荐(0)

摘要:Castle是针对.NET平台下的一个非常优秀的开源项目,从数据访问框架 ORM到依赖注入容器,再到WEB层的MVC框架、AOP,基本包括了整个开发过程中的所有东西,为我们快速的构建企业级的应用程序提供了很好的服务。项目主页:http://www.castleproject.org/ 阅读全文

posted @ 2013-11-29 17:03 eastson 阅读(298) 评论(0) 推荐(0)

摘要:XML-RPC.NET 是一个 .NET 的客户端服务器的基于 XML-RPC 远程过程调用的框架。示例代码:[XmlRpcUrl("http://betty.userland.com/RPC2")]public interface IStateName : IXmlRpcProxy{ [XmlRpcMethod("examples.getStateName")] string GetStateName(int stateNumber); }IStateName proxy = XmlRpcProxyGen.Create();string stateNa 阅读全文

posted @ 2013-11-29 17:00 eastson 阅读(528) 评论(0) 推荐(0)

摘要:BindingSource下面几个事件的触发顺序需要注意:1. CurrentChanged2. CurrentItemChanged3. PositionChanged 阅读全文

posted @ 2013-04-08 08:47 eastson 阅读(287) 评论(0) 推荐(0)

摘要:最近公司在测试SharePoint,2007和2010都有试过。本文是我用Visual Studio部署开发好的报表时的一些配置参数,方便后续查阅。部署到SharePoint 2010服务器服务器软件环境:Windows Server 2008 R2SQL Server 2008 R2SharePoint Server 2010宿主网站是http://localhost,创建报告库ReportLibrary,完毕后我们就可以用http://localhost/ReportLibrary访问该报告库。开启SQL Server Business Intelligence Development S 阅读全文

posted @ 2012-06-09 10:19 eastson 阅读(539) 评论(0) 推荐(0)

摘要:本文是我的第一个WebPart开发过程,参考文档演练:为 SharePoint 创建 Web 部件。1. 启动Visual Studio 2010,新建一SharePoint项目,项目模板选择SharePoint > 2010 > 空白SharePoint项目。确定项目名称和存放位置后点击“确定”按钮。2. 指定用于调试的SharePoint网站和安全级别:注意:这里我们选择“部署为场解决方案”。点击“完成”按钮,项目创建成功。3. 为新建的SharePoint项目添加新项,项目模版选择SharePoint > 2010 > Web部件。确定部件名称后点击“添加”按钮。 阅读全文

posted @ 2012-06-04 16:41 eastson 阅读(997) 评论(0) 推荐(1)

摘要:此文的目的是希望能将与SharePoint有关的所有文章做一个索引,方便以后的学习和查询。SharePoint安装系列Windows Server 2008 R2安装过程SQL Server 2008 R2 安装过程Visual Studio 2010安装过程SharePoint Server 2010安装过程SharePoint相关文章SharePoint Server 2007管理与应用系列讲座SharePoint 2007图文开发教程Developing Web Parts in SharePoint FoundationTechnical diagrams (SharePoint Se 阅读全文

posted @ 2012-05-30 14:52 eastson 阅读(293) 评论(0) 推荐(0)

摘要:本文安装的是Visual Studio 2010Ultimate版,也就是旗舰版。Visual Studio 2010的安装1. 准备好Visual Studio 2010光盘,放入光驱,执行setup.exe文件开始安装。点击"安装Microsoft Visual Studio 2010"继续。2. 欢迎画面。我可以可以选择是否向Microsoft发送安装信息,点击“下一步”按钮继续。3. 确认软件许可条款。安装程序会检查安装Visual Studio 2010所必需的组件,点击“下一步”按钮开始安装这些必需组件。4. 选择安装方式和安装路径。我们选择“自定义”安装,然后 阅读全文

posted @ 2012-05-30 10:26 eastson 阅读(6440) 评论(0) 推荐(0)

摘要:WebForm控件系列 -介绍一些开源的第三方控件WebForm控件系列 -XPanderControlsWebForm控件系列 -WeifenLuo.WinFormsUI.Docking的使用WebForm控件系列 -OutLookBar工具条WebForm控件系列 -SplashScreen控件WebForm控件系列 -HTML内容编辑控件SharpDevelop系列 -SharpDevelop Build ServerSharpDevelop系列 -SharpDevelop WikiSharpDevelop系列 -Building Applications with the SharpD 阅读全文

posted @ 2012-04-26 20:48 eastson 阅读(307) 评论(0) 推荐(1)