Automated sql table backups
===

Is there a way I can write C# code to write the structure of an SQL table and the contents of its data to text files?  So far I figured out how to use BCP to copy the data, but I'm not sure how to copy the table creation script using C#. 

Am I going down the right path or is there a better way to do this?  I basically want to automate the table backup scripts that can be created in SQL server. The ideal output would be two sql files.  One that creates the table and one that populates the data.  BCP data isn't in SQL format so you can't just execute it in SQL server (which is what I want, this just will make it more user friendly for the people I work for).