Renjith V S

Renjith V S

  • NA
  • 317
  • 66.3k

How to insert more than one id to a row in sql using c# code

Apr 24 2014 2:39 AM
Hi,
      I have a problem in adding more than one id to a column. My project is that I need to add details of person. In this I use 1 person can add more than one country name. For example a person name: abc can add his country names as India and USA. The country name is getting by drop down list. In my project all are using a tab control in first tab I can add name and in next tab there is a drop down list for country selection on selecting the country name there is a add button so I can add more than one country name to a particular name. So there is a main submit button which is for all the tabs all the data inserted should be inserted to database. example: name: abc country:1,2 . Country is saved as id.

Answers (2)