c#, SQL Server, Proc

In c#, I have
country ="USA"    and  population = 330,000,000
List<City> cityList                     includes multiple city objects Los Angele, CA
                                                                                                        San Diego, CA
                                                                                                        Dallas, TX

I need a proc to write USA, 330,000,000 to CountryTable, get CountryID and then use it as FK in CityTable to enter:
Los Angele, CA
San Diego, CA
Dallas, TX

Question: How cityList  could be passed to the proc?

Do I need to declare a dataset (ds) which can have a datatable (dt) added to it and populated with the cityList first in order to be passed to the proc? I am not sure if this is the way to do it. If it is, could you please show me how this code should be done?

There will be a few more followup questions to complete the entire process.
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Very useful links.

Thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.