i wokring in windows form and make a complete project in vb.net with sql server 2014.i mae connection in this way on form load event.
Dim con As New SqlConnection
Dim cmd As New SqlCommand
con.ConnectionString = "data source=(localdb)\\MSSQLLocalDB;initial
catalog=LoginDB;integrated security=true"
cmd.Connection = con
con.Open()
when i use my computer name in datasource then it working correctly.but when i use "localdb" in datasource as show in code for creating setup then connection can not be created and araise error while opening the connection..what should i do????