#region 复制表结构 public static DataTable CopyTable(DataTable table)
/// <summary>
/// 复制表结构
/// </summary>
/// <param name="table">原始表</param>
/// <returns>返回结果的数据表</returns>
public static DataTable CopyTable(DataTable table)
{
DataTable dt = null;
dt = table.Clone();
return dt;
}
#endregion
/// <summary>
/// 复制表结构
/// </summary>
/// <param name="table">原始表</param>
/// <returns>返回结果的数据表</returns>
public static DataTable CopyTable(DataTable table)
{
DataTable dt = null;
dt = table.Clone();
return dt;
}
#endregion