DataTable.Clone();//僅復制表結構
DataTable.Copy();//復制表結構及數(shù)據(jù)
DataTable.ImportRow(DataRow);//復制行數(shù)據(jù)到新表
DataRow[] rows = DataTable.Select("Name like'%" + Name + "%'");
rows.CopyToDataTable();//將DataRow[]轉(zhuǎn)化為DataTable
DataTable.Clone();//僅復制表結構
DataTable.Copy();//復制表結構及數(shù)據(jù)
DataTable.ImportRow(DataRow);//復制行數(shù)據(jù)到新表
DataRow[] rows = DataTable.Select("Name like'%" + Name + "%'");
rows.CopyToDataTable();//將DataRow[]轉(zhuǎn)化為DataTable