close
System.Data.DataView view =new System.Data.DataView(yourOriginalTable);
System.Data.DataTable selected =
view.ToTable("Selected",false,"col1","col2","col6","col7","col3");
http://stackoverflow.com/questions/18402324/copy-specific-columns-from-one-datatable-to-another
全站熱搜
留言列表