Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Every one,

i am new to ssis package.am reading data from excel file and storing in to the database. After that the same data writing in to the excel like the below format.

Input:-
Sno Sname Amount
1    Sam    2500
2    ram    3500

output:-
Sno Sname Amount
1    Sam    2500
2    ram    3500

my requirement is if excel file has duplicate sno like the below format.

Input:-
Sno Sname Amount
 1   Sam    2500
     kumar  450
     james  350
----------------
2    ram    3500


I need to display the excel in the below format.
Sno  Sname  amount
      Sam    2500
  1   kumar  450
      james  350
------------------
  2    ram    3500


means i have to merge the three rows into one row.

kindly anyone help me how to do this..
Posted
Updated 8-Oct-14 8:40am
v4
Comments
Maciej Los 8-Oct-14 13:21pm    
Please, use proper formatting.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900