Merging DataTable(s) Column by Column.

Posted by Omky on Stack Overflow See other posts from Stack Overflow or by Omky
Published on 2011-01-29T07:12:23Z Indexed on 2011/01/29 7:25 UTC
Read the original article Hit count: 105

Filed under:
|
|
|
|

Hello All,

I want to merge two or more DataTables Colum by Column. I am developing C# Windows Application. My use case is below:

  1. I have empty data grid in my application.
  2. user will drag and drop one column from available column list box into data grid. The data grid will start displaying data for that column.
  3. Now, I will drag another column into data grid and now grid should get populated data of two columns.
  4. This will repeat till user feels that he has dropped all necessary columns.

What is best way to do this? Is there any performance hits with large number of rows typically 1 million?

Please help.

Thanks, Omky

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET