I'm trying to learn how to use simple SQL databases through .NET. I'm using VB.NET 2005 Express and SQL Server Express. Let me explain what I do and see if you can help me figure out what's missing.
1) I 'Add a new Data Source..' and point it to an empty db that I created in the Management Studio. (testDataSet)
2) I drag a TableAdapter onto the Designer. This creates DataTable1 and starts up the wizard for it.
3) I use the default connection string, select either 'Use SQL Statements' or 'Create new stored procedures' (either way doesn't make a difference), and put in 'SELECT * FROM DataTable1' for my SQL statement. I use the defaults for everything after that. At the end of the wizard, though, it gives the error "Invalid object name 'DataTable1'"
And this is where I'm stuck. Any help would be appreciated.
1) I 'Add a new Data Source..' and point it to an empty db that I created in the Management Studio. (testDataSet)
2) I drag a TableAdapter onto the Designer. This creates DataTable1 and starts up the wizard for it.
3) I use the default connection string, select either 'Use SQL Statements' or 'Create new stored procedures' (either way doesn't make a difference), and put in 'SELECT * FROM DataTable1' for my SQL statement. I use the defaults for everything after that. At the end of the wizard, though, it gives the error "Invalid object name 'DataTable1'"
And this is where I'm stuck. Any help would be appreciated.