Ask a questionAsk a question
 

AnswerI don't know if this is the correct forum...

  • Sunday, March 15, 2009 1:45 AMJeremy Chaney Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    ...but I'm new to using SQL in C# and I need to know how to do a couple of things:

    1) How do I create a SQL database?
    2) Once I've created it, how do I add tables and columns to it?
    3) Once I've added the table and columns how do I insert data into the tables and columns?

    I've done some reading of the documentation and it looks like I need to create a SqlConnection object and pass it a bunch of strings, but I can't figure out what each of the strings mean, or if the database needs to already exist before I create the SqlConnection command.

    If this is the wrong forum to post this question, then please point me to the correct one. I have a project that is due by Monday, and if I don't complete it, then I'm probably going to get fired- so somebody, please, please help me!
    Thanks,
    --Jeremy

Answers

All Replies