I am currently in the learning process of how to build database applications with VB.NET and SqlServer.
I have a basic project that has a form that allows the user to insert data into my SqlServer db - it all works fine.
My question is in regards to distributing this app to a different machine. For some odd reason the book that I am going thru to teach me all of this stuff doesn't go over distributing a .net app along with a sql server database.
I am totally lost on what I have to do to get the database schema (I don't want the test data that I have inserted during development) off of my dev machine and into the compiled executable of the app.
My main questions can be boiled down to:
1. How do I include the SqlServer db in the distributable app?
2. How will the client machine know where the database is once it is installed?
3. Should I use ODBC - OLE - relative path - other?
TIA
For the curious - the book I'm using is:
"Programming Microsoft SQL Server 2000 with Microsoft Visual Basic .NET by Rick Dobson"
I have a basic project that has a form that allows the user to insert data into my SqlServer db - it all works fine.
My question is in regards to distributing this app to a different machine. For some odd reason the book that I am going thru to teach me all of this stuff doesn't go over distributing a .net app along with a sql server database.
I am totally lost on what I have to do to get the database schema (I don't want the test data that I have inserted during development) off of my dev machine and into the compiled executable of the app.
My main questions can be boiled down to:
1. How do I include the SqlServer db in the distributable app?
2. How will the client machine know where the database is once it is installed?
3. Should I use ODBC - OLE - relative path - other?
TIA
For the curious - the book I'm using is:
"Programming Microsoft SQL Server 2000 with Microsoft Visual Basic .NET by Rick Dobson"