摘要:
想使用using(...), 如:using (Getter process = new Getter()){ //...}就必须给类实现接口IDisposablepublic sealed class Getter: IDisposable { #region ... 阅读全文
摘要:
首先在SQLServer定义一个自定义表类型:USE [ABC]GOCREATE TYPE [ABC].[MyCustomType] AS TABLE( [EmployeeId] [char](6) NOT NULL, [LastName] [varchar](30) NULL, ... 阅读全文
摘要:
static void Main(string[] args) { //定义与目标表结构相同的DataTable DataTable dataTable = new DataTable(); dataTable.Colu... 阅读全文