string[] selectedColumns = new[]
{
// "Title",
"FirstName",
//"MiddleName", "LastName", "Suffix", "Company", "InformalSalutation", "FormalSalutation",
//"AddressName",
"Address1","Address2"
//,"City","State","Zip","Country"
};
DataTable dtTest = new DataView(dataTable1).ToTable(false, selectedColumns);
{
// "Title",
"FirstName",
//"MiddleName", "LastName", "Suffix", "Company", "InformalSalutation", "FormalSalutation",
//"AddressName",
"Address1","Address2"
//,"City","State","Zip","Country"
};
DataTable dtTest = new DataView(dataTable1).ToTable(false, selectedColumns);
No comments:
Post a Comment