.NET 學習

.NET 學習生活感想... 万事成蹉跎..... 贵在坚持 及时整理自己做过和学过的东西

博客园 首页 新随笔 联系 订阅 管理

2011年4月11日 #

摘要: Excel 文件用C#导入 Access 数字字符混排的问题Excel 驱动程序读取指定源中一定数量的行(默认情况下为 8 行)以推测每列的数据类型。如果推测出列可能包含混合数据类型(尤其是混合了文本数据的数值数据时),驱动程序将决定采用占多数的数据类型,并对包含其他类型数据的单元返回空值。(如果各种数据类型的数量相当,则采用数值类型。)Excel 工作表中大部分单元格格式设置选项不会影响此数据类型判断。可以通过指定导入模式来修改 Excel 驱动程序的此行为。若要指定导入模式,请在“属性”窗口中将 IMEX=1 添加到 Excel 连接管理器的连接字符串内的扩展属性值中。所以如果不指定IME 阅读全文
posted @ 2011-04-11 11:15 Tonyyang 阅读(465) 评论(1) 推荐(0)

2011年4月9日 #

摘要: How to: Test an XAF Application如何:测试XAF应用程序eXpressApp Framework > Task-Based Help > How to: Test an XAF Application The eXpressApp Framework is shipped with EasyTest - a test framework designed to perform functional testing of XAF applications. This topic demonstrates how to test an XAF applic 阅读全文
posted @ 2011-04-09 08:56 Tonyyang 阅读(590) 评论(0) 推荐(0)

2011年4月8日 #

摘要: Functional Testing(功能测试)eXpressApp Framework > Concepts > Functional Testing (功能测试)The eXpressApp Framework includes a preview of the EasyTest functional test framework. This framework is specifically designed to perform functional testing of XAF applications. The main idea behind the creation 阅读全文
posted @ 2011-04-08 10:57 Tonyyang 阅读(759) 评论(0) 推荐(0)

2011年3月29日 #

摘要: http://www.mssqltips.com/tip.asp?tip=1958 阅读全文
posted @ 2011-03-29 13:47 Tonyyang 阅读(307) 评论(0) 推荐(0)

2011年3月23日 #

摘要: 例如给订单增加版本控制usingSystem;usingSystem.ComponentModel; usingDevExpress.Xpo;usingDevExpress.Data.Filtering; usingDevExpress.ExpressApp;usingDevExpress.Persistent.Base;usingDevExpress.Persistent.BaseImpl;usingDevExpress.Persistent.Validation; namespaceDXExample.Module{[DefaultClassOptions]publicclassPO:Ba 阅读全文
posted @ 2011-03-23 12:27 Tonyyang 阅读(479) 评论(0) 推荐(0)

2011年3月15日 #

摘要: XAF 如何实现ListView单元格批量更改? publicpartialclassGridViewCellsValueUpdateViewController:ViewController{publicGridViewCellsValueUpdateViewController(){InitializeComponent();RegisterActions(components);}protectedoverridevoidOnActivated(){base.OnActivated();//this.paUpdateCellsValue.Enabled.SetItemValue(&quo 阅读全文
posted @ 2011-03-15 17:23 Tonyyang 阅读(650) 评论(0) 推荐(0)

摘要: Conditional Object Access Permission:http://www.devexpress.com/Support/Center/p/Q267964.aspxCustom ObjectAccessPermission type is ignored by the Security system :http://www.devexpress.com/Support/Center/p/Q268440.aspxusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Security;u 阅读全文
posted @ 2011-03-15 17:19 Tonyyang 阅读(883) 评论(0) 推荐(0)

2011年3月10日 #

摘要: 1.在ViewController上添加两个ParameterAction2.隐藏一个ParameterAction中的Action3.实现代码:privatevoidParermaterViewController_ViewControlsCreated(objectsender,EventArgse){IBarManagerHolderbmh=Frame.TemplateasIBarManagerHolder;if(bmh!=null&&bmh.BarManager!=null){foreach(BarItemiteminbmh.BarManager.Items){BarE 阅读全文
posted @ 2011-03-10 12:28 Tonyyang 阅读(678) 评论(0) 推荐(0)

摘要: 一个有问题的按钮权限控制:http://www.devexpress.com/Support/Center/p/Q261403.aspx(一个角色只能控制一个按钮权限)隐藏显示按钮:http://www.devexpress.com/Support/Center/kb/p/K18055.aspxCheck Permission http://documentation.devexpress.com/#Xaf/CustomDocument2981 Action based Permission:http://www.devexpress.com/Support/Center/p/Q141870. 阅读全文
posted @ 2011-03-10 12:22 Tonyyang 阅读(1243) 评论(0) 推荐(0)

2011年1月27日 #

摘要: 原文:http://www.expandframework.com/Xpand Framework(Xpand框架)Xpand是第一个基于DevExpress eXpressApp Framework(XAF)开源项目。它XAF包含在DXPerience Universal中,有30天试用期,试用版下载地址https://www.devexpress.com/ClientCenter/Downloads.eXpand框架是基于Microsoft Public License (Ms-PL)形式开源. XAF是不开源的,必须从DevExpress.购买。eXpandFramework 团队为XA 阅读全文
posted @ 2011-01-27 17:18 Tonyyang 阅读(2938) 评论(0) 推荐(0)

摘要: 原文:http://apobekiaris.blogspot.com/2011/01/easy-sequential-numbers.htmlEasy Sequential numbers(易用的序列号)Where they can be used?? In many places for example invoices, sales orders etc.他们能用在哪里?例如,在许多地方,发票,销售订单等等。One could tell that this is an easy task and maybe that assumption is right but let me write 阅读全文
posted @ 2011-01-27 09:13 Tonyyang 阅读(1259) 评论(0) 推荐(0)

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/10/08/xpo-direct-sql-queries.aspx直接执行SQL查询In the comments to my previous blog post about executing stored procedures from XPO, you asked how you could execute a SQL query from within a persistent class, so in this post I thought I’d sho 阅读全文
posted @ 2011-01-27 09:02 Tonyyang 阅读(2102) 评论(0) 推荐(0)

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/28/xpo-stored-procedure-support-coming-in-v2010-vol-2-part-2.aspxXPO - Stored Procedure Support coming in V2010 Vol 2 (Part 2)You’ll recall in my previous post on this in the forth coming topic I told you that there would be two ways 阅读全文
posted @ 2011-01-27 08:58 Tonyyang 阅读(693) 评论(0) 推荐(0)

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/22/xpo-stored-procedure-support-coming-in-v2010-vol-2.aspxXPO – Stored Procedure Support Coming in V2010 Vol 2 --Part 1Unless you work in a very small software shop, or are a ‘one man band’, the chances are you don’t ‘own’ the data t 阅读全文
posted @ 2011-01-27 08:49 Tonyyang 阅读(1333) 评论(0) 推荐(0)

2011年1月26日 #

摘要: XPO 支持存储过程 Part1XPO 支持存储过程 Part2XPO 直接支持执行SQL查询待续... 阅读全文
posted @ 2011-01-26 10:03 Tonyyang 阅读(541) 评论(0) 推荐(0)

摘要: Easy Senquential(易用的序列号)Xpand框架模块功能概要介绍待续... 阅读全文
posted @ 2011-01-26 09:58 Tonyyang 阅读(570) 评论(0) 推荐(0)

摘要: XAF 相关领域构件(DC)技术1.领域构件基础。2.如何实现领域构件3.领域构件发展情况4.写领域构件DC翻译博客一5.一对多关系DC翻译博客二7.DC中的关联DC翻译博客三8.接口和BOModelDC翻译博客四9.对基库的思考DC翻译博客五10.在BOModel中实现接口DC翻译博客六11.写一个正式的CRM应用程序DC翻译博客七12.XCRM销售机会和销售线索DC翻译博客八13.市场营销和客户服务DC翻译博客九14.XCRM 活动DC翻译博客十15.组合关联DC翻译博客十一 阅读全文
posted @ 2011-01-26 09:08 Tonyyang 阅读(416) 评论(0) 推荐(0)

摘要: DC: Combining associations(組合關聯)Remember that the base idea of creating the Domain Component Technology is to be able to compose an application from reusable blocks – components. These blocks can be bought from third-party sources. This allows you to reuse well-polished blocks. But this also means t 阅读全文
posted @ 2011-01-26 08:46 Tonyyang 阅读(667) 评论(0) 推荐(0)

摘要: 原文地址:http://community.devexpress.com/blogs/eaf/archive/2008/10/09/xcrm-activities.aspxXCRM: ActivitiesThis post is entirely devoted to Activities. It's more interesting to design Activities, because they are more complex than other components that I described earlier. There are three points I consid 阅读全文
posted @ 2011-01-26 08:42 Tonyyang 阅读(716) 评论(0) 推荐(0)

2011年1月25日 #

摘要: XCRM: Marketing Campaigns and Customer support(市场营销和客户支持)Marketing Campaigns(市场营销)A Marketing Campaign has no relationships. However, a Lead and Opportunity may reference a Campaign:市场营销不靠关系。然而,一个Lead和Opportunity可能来自广告:[Test]public void CampaignRelationships() { RegisterDCILead(); RegisterDCICamp 阅读全文
posted @ 2011-01-25 14:44 Tonyyang 阅读(488) 评论(0) 推荐(0)

摘要: XCRM: Leads and opportunities(XCRM销售线索和销售机会)A Lead is not directly linked to a Contact or Account. It can be converted into an Account, Contact or Opportunity later. I’ll just capture the fact that the Lead class exists and may have some basic info:一个销售线索不直接链接到联系人或客户。它能被转换成一个客户,联系人或之后的销售机会。我就抓住事实,存在 阅读全文
posted @ 2011-01-25 08:35 Tonyyang 阅读(643) 评论(0) 推荐(0)

摘要: XCRM: Writing real-world CRM application(写一个正式的CRM应用程序)I'm starting to write a generic CRM application, to try the new domain component (DC) technology and decide what classes should be included in our Domain Component technology. This application should be suitable for small business and extendable 阅读全文
posted @ 2011-01-25 08:33 Tonyyang 阅读(1098) 评论(0) 推荐(0)

2011年1月24日 #

摘要: DC: Implemented interfaces in BOMode(在BOModel中实现接口)While playing with CRM domain models, I've got a component like this:当用CRM领域构件,我有这样一个组件:view plain | print | copy to clipboard1[DomainComponent] 2publicinterfaceIContact:IPersonalContactInfo,IPerson{ 3IAccountAccount{get;set;} 4}This led me to one m 阅读全文
posted @ 2011-01-24 08:56 Tonyyang 阅读(553) 评论(0) 推荐(0)

摘要: 对基库的思考The new Domain Components framework will let developers create reusable domain components. Obviously, we should supply our variant of the domain component library. Our library should be full enough to let XAF developers start fast, and to provide a common well-established base for domain compo 阅读全文
posted @ 2011-01-24 08:53 Tonyyang 阅读(549) 评论(0) 推荐(0)

2011年1月22日 #

摘要: 有时间翻译这篇比较好的入门实例教程Getting the Job Done with XAF - Part 1http://www.codeproject.com/KB/showcase/XAFGettingTheJobDonePart1.aspx 阅读全文
posted @ 2011-01-22 10:20 Tonyyang 阅读(911) 评论(0) 推荐(0)

摘要: 原文地址:http://community.devexpress.com/blogs/eaf/archive/2008/09/30/interfaces-and-bomodel.aspx接口和BOModel This post is one in a series about our work on Domain Components (DC) framework and related component libraries. I’m just describing what we are working on, what problems we are facing and what re 阅读全文
posted @ 2011-01-22 09:19 Tonyyang 阅读(584) 评论(0) 推荐(0)

2011年1月21日 #

摘要: 如果你的word 的默认设置被你无意中改乱了而你又找不到某些在默认状态下的选项了,教你一个命令来把word恢复成刚安装完成时的默认设置点 开始 菜单——运行—— ,在运行框里输入winword /a 阅读全文
posted @ 2011-01-21 17:11 Tonyyang 阅读(654) 评论(0) 推荐(0)

摘要: DC中的关联This post is one in a series about our work on Domain Components (DC) framework and related component libraries. I’m just describing what we are working on, what problems we are facing and what results we've got so far.这篇文章是系列博客之一,关于我们对DC框架工作情况,有关构件库。我只是描述了我们正在努力的工作,遇到的问题,以及目前的工作进展。In my previ 阅读全文
posted @ 2011-01-21 08:47 Tonyyang 阅读(694) 评论(0) 推荐(0)

2011年1月20日 #

摘要: DC: 一对多关系In the first post of the series devoted to our new domain component (DC) technology, I tried to show an interface-defined entity in a UI.在第一篇博客专门讨论我们新的领域构件技术,我试着在界面显示一个接口定义实体。I used some IPerson component as an example:我用一些Iperson构件作为例子:view plain | print | copy to clipboard1publicenumGende 阅读全文
posted @ 2011-01-20 15:15 Tonyyang 阅读(908) 评论(0) 推荐(0)

2011年1月19日 #

摘要: 原文:http://community.devexpress.com/blogs/eaf/archive/2008/09/25/writing-domain-components-framework-dc.aspxI'm starting a series of posts on my blog to share our experience while designing the domain component (DC) technology. It will be useful for us to know whether you like what we are doing. If n 阅读全文
posted @ 2011-01-19 14:07 Tonyyang 阅读(835) 评论(0) 推荐(0)

摘要: 如何显示XtraGrid水平滚动条?设置Grid View’s OptionsView中ColumnAutoWith选项为false,和ShowHorzLines选项为True.注意:仅当Grid的显示列总宽度超过Grid的客户端宽度时候才显示水平滚动条。欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/ 阅读全文
posted @ 2011-01-19 10:07 Tonyyang 阅读(491) 评论(0) 推荐(0)

2011年1月18日 #

摘要: XAF–The State of Domain Components Technology in V2010 Vol 2XAF –在V2010 卷2中领域构件的状况http://community.devexpress.com/blogs/garyshort/archive/2010/12/01/xaf-the-state-of-domain-components-technology-in-v2010-vol-2.aspxDuring the 10.2 release cycle, we have been closely working with the XPO team to allow 阅读全文
posted @ 2011-01-18 09:18 Tonyyang 阅读(662) 评论(0) 推荐(0)

2011年1月17日 #

摘要: How to: Implement Domain Components(如何实现领域构件)eXpressApp Framework Task-Based Help How to: Implement Domain Components This topic illustrates how to implement and use the Domain Components (DC). We will define several components and demonstrate how they can be combined using multiple inheritance. 阅读全文
posted @ 2011-01-17 10:24 Tonyyang 阅读(920) 评论(0) 推荐(0)

2011年1月15日 #

摘要: Domain Components Basics(领域组件基础)eXpressApp Framework Concepts Business Model Design Domain Components Domain Components Basics Domain Components technology is designed to simplify data management and reusability by providing a much more flexible and abstracted approach to business object des 阅读全文
posted @ 2011-01-15 15:50 Tonyyang 阅读(1097) 评论(0) 推荐(0)

2011年1月14日 #

摘要: Model Editor(模型编辑器)eXpressApp Framework Concepts Application Model Model Editor The Application Model is formed from layers. The first layer is generated from code. The following layers represent the changes stored in XafML files that are located in referenced modules. The final layer represen 阅读全文
posted @ 2011-01-14 16:09 Tonyyang 阅读(1883) 评论(0) 推荐(0)

2011年1月13日 #

摘要: Convert Application Model Differences转换不同应用程序模型eXpressApp Framework Concepts Application Model Convert Application Model Differences The eXpressApp Framework is based on the modules concept. As a rule, every module implements a certain feature. Entities implemented in a module, such as persist 阅读全文
posted @ 2011-01-13 08:36 Tonyyang 阅读(514) 评论(0) 推荐(0)

2011年1月12日 #

摘要: 用代码扩展和自定义应用程序模型eXpressApp Framework Concepts Application Model Extend and Customize the Application Model in Code You can customize the information loaded to the Application Model via the Model Editor. It allows you to edit the information at design time, forming Application Model layers in ea 阅读全文
posted @ 2011-01-12 15:47 Tonyyang 阅读(661) 评论(0) 推荐(0)

2011年1月11日 #

摘要: 用代码访问应用程序模型eXpressApp Framework Concepts Application Model Access the Application Model in Code The Application Model represents a large data store which is used when running the application to generate the UI and configure the application behavior. This topic details how to access the Applica 阅读全文
posted @ 2011-01-11 08:42 Tonyyang 阅读(501) 评论(0) 推荐(0)

2011年1月10日 #

摘要: 应用程序模型中业务模型eXpressApp Framework Concepts Application Model Business Model in the Application Model With the eXpressApp Framework, only the business model has to be implemented when building a business application. Views for each business class from the business model will be generated automati 阅读全文
posted @ 2011-01-10 14:32 Tonyyang 阅读(418) 评论(0) 推荐(0)

摘要: 应用程序模型架构eXpressApp Framework Concepts Application Model Application Model Structure The Application Model consists of nodes and their properties. Nodes can have child nodes, and they form the tree structure of the Application Model. This topic explains how the Application Model structure for a 阅读全文
posted @ 2011-01-10 13:57 Tonyyang 阅读(532) 评论(0) 推荐(0)

欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/