using System;
using System
using sql = System
namespace test
{
public class test
{
public test
{
sql
//
}
}
}利用
using(SqlConnection cn = new SqlConnection(
{
cn
using (SqlCommand cmd = new SqlCommand(
{
//
}
}
From:http://tw.wingwit.com/Article/program/net/201311/11291.html