Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
urgently require the code for data mapping from source file to target file which will lead to migration of objects.

source file will be a simple tabular file which has to be mapped.
please suggest feasible options which can be used in visual studio
Posted
Updated 15-Jan-13 0:37am
v4
Comments
MT_ 15-Jan-13 4:15am    
Is this really a question ? Not on my to-do list for sure !
shanky9211 15-Jan-13 6:33am    
yeah...it is.
lets assume if a source file is provided with details about materials(eg:width,density etc) and you have to map it into the target file using visual web developer 2010.
in the above given circumstance wot shud i do??
it will be nice if u suggest sm help
Suvabrata Roy 15-Jan-13 4:19am    
Please provide some sample...
and elaborate your question
shanky9211 15-Jan-13 6:34am    
yeah...it is.
lets assume if a source file is provided with details about materials(eg:width,density etc) and you have to map it into the target file using visual web developer 2010.
in the above given circumstance wot shud i do??
it will be nice if u suggest sm help

1 solution

Hi,

As per my understanding,

You have two files. One is Tabulated another is also Tabulated (as per my assumption)
but still they have some miss matches so you need to map one to another.

The source file is tab delimited (as you said) now rename it to CSV extract it using OLEDB, then you will get DataTable and the same way you will able to insert selected columns to destination file ( as Its also assumed as Tab delimited ).

For further classification Read

KBCSCV[^]
OLEDB Fetch[^]
Insert Data Using OLEDB[^]
 
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