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.