Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi all my requirement is read a text file which contains contact Number and name having delimiter as comma and store those values to existing columns contactnumber and contactname in my database in c#.net
Posted
Updated 7-Apr-10 1:32am
v3

So, perhaps you could explain which part of your code is not working.
 
Share this answer
 
ravi.9288 wrote:
i am new to this concept i need the code for above question.


Assuming from this that you mean you do not know either C# or SQL, I suggest you buy some books and start studying.

If you do know C# then you need to read your data through a File or Filestream, split each string into its number and name, and then insert these into your database.
 
Share this answer
 
I would suggest if you have no idea where to even start, that you either talk to your teacher, if you're at school, quit your job, if you're at work, and either way, buy a basic C# book and read it.
 
Share this answer
 
i am new to this concept i need the code for above question
 
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