摘要: 用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.shnenglu.com/mzty/archive/2005/11/10/1045.html
閱讀全文