Hello all:
I have 2 DataTables in vb.net. Each is populated from it's own stored procedure. Table A contains a project number in the first column. Table B also contains the project number in the first column. Table A could have many records that have the same project number, but Table B will always have just one record in it per project number. I would like to append the data from Table B to every matching record in Table A. How would I do this?
Table A could look like this:
PROJECT#, QUANTITY
12345, 100
12345, 200
12345, 300
Table B could look like this:
PROJECT#, CUSTOMER
12345, ABC Inc.
I would like to merge the two to create something like this:
PROJECT#, QUANTITY, CUSTOMER
12345, 100, ABC Inc.
12345, 200, ABC Inc.
12345, 300, ABC Inc.
Please help!