How to insert a list of string into a table of SQL server database : I have a table of 3 fields along with a primary key(id,Name,Gender,City).

    create table tempTable
    (
    	id int primary key identity,
    	name nvarchar(50),
    	gender nvarchar(50),
    	city nvarchar(50)
    )

 
And there is a list of string like : 

    List<String> list = new List<String>() { "name", "male", "city" };

I want this list to insert into the tempTable. How can I do that?



 