摘要: 用ASP.NET/C#连接Access和SQL Server数据库
阅读全文
摘要: Perform an XSL Transform
阅读全文
摘要: Use XML Serialization with Custom Objects/Create a Schema for a .NET Class/Generate a Class from a Schema
阅读全文
摘要: Validate an XML Document Against a Schema
阅读全文
摘要: find the nodes in XML in 3 means
阅读全文
摘要: read and write XMl in 2 means in c#
阅读全文
摘要: Introduction
Accessing databases is a common part of most applications and with the introduction of C# and ADO.NET, has become quite simple. This article will demonstrate the four most basic database operations.
Reading data. This includes various data types such as integers, strings and dates.
Writing data. As with reading we will write these common types. This will be done using a SQL statement.
Updating or modifying data. Again we will use a simple SQL statement.
阅读全文
摘要: Managed, Unmanaged, Native: What Kind of Code Is This?
阅读全文
摘要: 归纳起来,泛型比非泛型具有下面两个优点:
1、 更加安全
在非泛型编程中,虽然所有的东西都可以作为Object传递,但是在传递的过程中免不了要进行类型转换。而类型转换在运行时是不安全的。使用泛型编程将可以减少不必要的类型转换,从而提高安全性。
2、 效率更高
在非泛型编程中,将简单类型作为Object传递时会引起Boxing和Unboxing操作,这两个过程都是具有很大开销的。使用泛型编程就不必进行Boxing和Unboxing操作了。
.NET泛型具有很好的二进制重用性。这一点得益于.NET将泛型内建在CLR之中。C++泛型和评估中Java泛型所依靠的是它们各自的编译器所提供的特性,编译器在编译泛型代码时将确切的类型展开,这就难免会出现代码膨胀的问题。而.NET的泛型代码是在运行时由JIT即时编译的,这样CLR就可以为不同类型重用大部分的即时编译代码了。
阅读全文
摘要: Namespaces/Identifiers
阅读全文
摘要: In this article, we will analyze COM components and their application in C#. These components became popular among developers after Microsoft released Active Server Pages. However, the whole scenario changed when Microsoft released its Windows 2000 operating system and subsequent COM+ technology. In this article, we will examine the fundamentals of this exiting technology followed by its application in C#.
阅读全文
摘要: Exception Handling in C#
阅读全文
摘要: Properties/Access Modifiers/Enumerations/Interfaces(c#)
阅读全文
摘要: Introducing Microsoft .NET
阅读全文
摘要: C# (C sharp) 是微软对这一问题的解决方案。C#是一种最新的、面向对象的编程语言。它使得程序员可以快速地编写各种基于Microsoft .NET平台的应用程序,Microsoft .NET提供了一系列的工具和服务来最大程度地开发利用计算与通讯领域。
阅读全文
摘要: http://www.cppblog.com/mzty/archive/2005/11/10/1045.html
阅读全文