ds1.Tables.Merge(dt); to work both the
datatables have to be union compatible i.e. both of the should contain same number of columns and the respective columns should be of same
datatype in each table.
Please ensure that both the
datatables conform to this requirement and it will work fine.
Please check your
DataTables that they exists same number of columns.
better to use join statement and make view before using it in dataset
Edited 16-Jul-12 0:39am
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)