Whenever I create a new database from a C# program and create tables for that database, the tables always show up under the creator's default database instead of being listed under the newly created database.
Hi again!
If you're using the same connection string that created the database to send the create table commands, remember there's no database specified on that connection. Once you've created the database, you'll have to create a new connection that specifies the new database's name. Use that connection to create the tables.
If that doesn't apply to what you're doing (
i.e., you're already creating a new connection) or it doesn't solve the problem, please post the relevant code so we can help.