I'm using MySQL database on my project and never had experience compiling vb.net application that includes database. So i want to know how to include or embed the MySQL database in making executable file of your application. Thanks!
Just add it to the solution and load it: 'By RightClicking on solution and click add/existing item'
Dim con As New SqlClient.SqlConnection("data source=" & Application.StartupPath & "\database.mdf")
If i hadn't solved your problem give me more information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.