I have to send my C# Windows Forms project (using SQL Server LocalDB on vs server explorer) to my teacher but if I send her my project with localDB as my database, it doesn't work on her system. What should I do? I really appreciate it if someone helps me.
CodePudding user response:
You can send your database script to your teacher. You can do for Microsoft Sql Server like that:
Right click on your db > Tasks > Generate Scripts... > next > next > Advanced > You should change "Types of data to script" area as "Schema and data". > Click "Open in new query window" radio button. > next > next > finish.
After this process, you can save this script file and send to your teacher.