var MyVehListQry = (from DR1 in MyDataTable.AsEnumerable() where DR1.Field<string>("Field1") == MyValue select new { Field1 = DR1.Field<string>("Field1"), Field2 = DR1.Field<string>("Field2") }).ToList();
DataTable MyDtb2 = MyVehListQry.CopyToDataTable(); ??????????????
DataTable dt = new DataTable(); string [] column = {"Column1", "Column2"}; dt = DTItem.DefaultView.ToTable("dd", false, column); //DTItem is the Existing Table and "dd" is the temporary tablename, u give whatever U want
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)