Visual Studio Build Events
摘要:Visual Studio Build EventsSome projects require that preparatory steps be taken prior to compiling the code. Others require processes to be executed after a successful build. Visual Studio's Build Eve...
阅读全文
posted @
2010-09-07 16:36
Alan Yang
阅读(1022)
推荐(0)
what is the purpose of the rptproj.user file
摘要:rdl files are critical andshouldbe recorded in source control.rdl.data is useful only in preview (saving trips) and thereforeshould notberecorded insource control.rptproj file has usefuldatasource, pa...
阅读全文
posted @
2010-08-26 10:53
Alan Yang
阅读(582)
推荐(0)
Globalization and Localization
摘要:Globalization of Windows Applications in 20 Minutes Using C#Byrajesh-lal| 1 Sep 2006Describes the essential features required to enable multiple languages in a Windows application using resource files...
阅读全文
posted @
2010-08-23 17:40
Alan Yang
阅读(2385)
推荐(1)
Visual C++ Native and .NET Interoperability
摘要:Visual C++Native and .NET InteroperabilityVisual C++ supports interoperability features that allow managed and unmanaged constructs to co-exist and interoperate within the same assembly, and even in t...
阅读全文
posted @
2010-08-03 10:08
Alan Yang
阅读(205)
推荐(0)
C# WinForm开发系列 - Reporting Services
摘要:收集微软的SQL Reporting Services在商务智能系统(BI)与数据挖掘方面开发应用以及安装配置文章, 并提供了相关开发资源的下载地址.Reporting Services初体验报表服务教程1: 创建基本报表教程2:向基本报表中添加分组排序和格式设置【翻译】通过C#程序配置报表到SQL Server 2005报表服务(SSRS)VS2005中做报表选择Crystal Reports还...
阅读全文
posted @
2010-07-13 15:31
Alan Yang
阅读(580)
推荐(1)
Assembly ‘X’ could not be uninstalled because it is required by another application
摘要:Chances are that your assembly has a pin in the registry which stops it from being uninstalled. You can find these here:* HKEY_CURRENT_USER\Software\Microsoft\Installer\Assemblies\Global* HKEY_LOCAL_M...
阅读全文
posted @
2010-07-09 13:24
Alan Yang
阅读(303)
推荐(0)
GAC 学习
摘要:From: http://www.cnblogs.com/flyinthesky/archive/2008/08/04/1260141.html每一个被安装了CLR的计算机都有一个全局程序集缓存,简写GAC, GAC是一个面向机器的用来保持程序集的,用于在一台机器的几个应用程序之间共享程序集的机制。在Dot Net框架中,GAC是注册程序集的中心地带。它最初被叫做联合缓存并且被Fusion.dll...
阅读全文
posted @
2010-07-08 10:32
Alan Yang
阅读(549)
推荐(0)
通过C++ Interop把Windows窗体集成到MFC应用程序中
摘要:MSDN Mag 2006.05.原文出处:Mix And Match: Integrate Windows Forms Into Your MFC Applications Through C++ Interop翻译:Steven Xiong翻译时间:2006年5月16日http://www.cnblogs.com/bearblog/archive/2006/05/16/401809.html混...
阅读全文
posted @
2010-07-06 19:44
Alan Yang
阅读(1847)
推荐(0)
C#中海量数据的批量插入和更新 [转]
摘要:对于海量数据的插入和更新,ADO.NET确实不如JDBC做到好,JDBC有统一的模型来进行批操作.使用起来非常方便:PreparedStatement ps = conn.prepareStatement("insert or update arg1,args2....");然后你就可以for(int i=0;i<1000000000000000;i++){ps.setXXX(realArg...
阅读全文
posted @
2010-05-26 00:29
Alan Yang
阅读(1257)
推荐(0)
Memory Management in .NET By Tushar agarwal November 17, 2003
摘要:Sponsored by Become a Sponsor Similar ArticlesMost ReadTop RatedLatest Object Pooling in .NET C# Heap(ing) Vs Stack(ing) in .NET: Part I Top 10 Reasons to Switch from Java to Visual C# C# Heap(ing) V...
阅读全文
posted @
2010-05-19 10:26
Alan Yang
阅读(381)
推荐(1)
【转】.NET内存管理、垃圾回收
摘要:? .NET内存管理、垃圾回收 1. Stack和Heap 每个线程对应一个stack,线程创建的时候CLR为其创建这个stack,stack主要作用是记录函数的执行情况。值类型变量(函数的参数、局部变量等非成员变量)都分配在stack中,引用类型的对象分配在heap中,在stack中保存heap对象的引用指针。GC只负责heap对象的释放,heap内存空间管理Heap内存分配 除去pinned...
阅读全文
posted @
2010-05-05 17:23
Alan Yang
阅读(550)
推荐(0)
[转]面向对象的三个基本特征
摘要:面向对象的三个基本特征(讲解)面向对象的三个基本特征是:封装、继承、多态。封装封装最好理解了。封装是面向对象的特征之一,是对象和类概念的主要特性。封装,也就是把客观事物封装成抽象的类,并且类可以把自己的数据和方法只让可信的类或者对象操作,对不可信的进行信息隐藏。继承面向对象编程 (OOP) 语言的一个主要功能就是“继承”。继承是指这样一种能力:它可以使用现有类的所有功能,并...
阅读全文
posted @
2010-04-19 17:25
Alan Yang
阅读(319)
推荐(0)
Invoke and BeginInvoke BeginInvoke和EndInvoke方法 (转)
摘要:三篇文章分别转自:http://www.cnblogs.com/renhaojie/archive/2009/09/10/1564052.htmlhttp://www.cnblogs.com/worldreason/archive/2008/06/09/1216127.htmlhttp://www.cnblogs.com/c2303191/articles/826571.html看完三篇文章,受益...
阅读全文
posted @
2010-04-07 18:21
Alan Yang
阅读(787)
推荐(0)
C#制作Windows service服务系列
摘要:http://blog.csdn.net/downmoon/archive/2007/04/24/1581113.aspx
阅读全文
posted @
2010-04-07 17:57
Alan Yang
阅读(245)
推荐(0)
温故而知新:Delegate,Action,Func,匿名方法,匿名委托,事件
摘要:温故而知新:Delegate,Action,Func,匿名方法,匿名委托,事件 一、委托Delegate一般的方法(Method)中,我们的参数总是string,int,DateTime...这些基本的数据类型(或者没有参数),比如[代码]但是有些时候,我们希望把一个方法本身当做参数传递给另一个方法,比如myObject.callMethod(HelloWorld);在没有委托之前,这是一件极困难...
阅读全文
posted @
2010-04-06 21:29
Alan Yang
阅读(567)
推荐(2)
c#.net执行应用程序有两种方法
摘要:在asp.net中执行应用程序有两种方法:1、调用win32函数ShellExecute。2、用.NET Framework中的Process类。下面我分别用这两种方法执行Windows中的记事本程序notepad.exe。新建一个ASP.Net页面Default.aspx,在上面放一个按钮,进入Default.aspx.cs页面填写后台处理程序。1、调用win32函数ShellExecute。添...
阅读全文
posted @
2010-04-06 19:31
Alan Yang
阅读(816)
推荐(0)
.NET 4.0中的泛型协变和反变
摘要:随Visual Studio 2010 CTP亮相的C#4和VB10,虽然在支持语言新特性方面走了相当不一样的两条路:C#着重增加后期绑定和与动态语言相容的若干特性,VB10着重简化语言和提高抽象能力;但是两者都增加了一项功能:泛型类型的协变(covariant)和反变(contravariant)。许多人对其了解可能仅限于增加的in/out关键字,而对其诸多特性有所不知。下面我们就对此进行一些详...
阅读全文
posted @
2010-04-02 18:03
Alan Yang
阅读(446)
推荐(0)
. NET多线程编程
摘要:.NET多线程编程(1):多任务和多线程[日期:2004-04-27]来源:CSDN 作者:younther(翻译)[字体:大 中 小] 在.NET多线程编程这个系列我们讲一起来探讨多线程编程的各个方面。首先我将在本篇文章的开始向大家介绍多线程的有关概念以及多线程编程的基础知识;在接下来的文章中,我将逐一讲述。NET平台上多线程编程的知识,诸如System.Threading命名空间的重要类以及方...
阅读全文
posted @
2010-04-01 18:09
Alan Yang
阅读(910)
推荐(0)