Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have got a Stored procedure that fetches me 100 plus or so salary records for certain employees..and I have an external excel sheet that has attendance records of those employees..
Both these data sources have employee_id as common field

Now what I need is when I import the Attendance excel sheet it should merge the data being fetched by the Stored Procedures data and should form one final data set and I want those records of these newly formed data set into some other new table .

Please help me out , how can I accomplish the same.
Posted
Updated 29-Jul-14 1:54am
v2

1 solution

I found this (rather out-dated now) on MSDN
Implement a Dataset Join Helper Class[^]

Alternative using Linq is discussed here[^]

Alternatively you could load the spreadsheet into SQL Importing Data to SQL from Excel[^] and do the join via the Stored Procedure

Sorry I can't give much specific detail as you haven't mentioned language, versions etc.
 
Share this answer
 

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