Click here to Skip to main content
14,603,917 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 1

So, perhaps you could explain which part of your code is not working.
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

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.
   
Rate this:
Please Sign up or sign in to vote.

Solution 4

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.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

i am new to this concept i need the code for above question
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100