Dear All
When I Add .mdf file inside VB.net Application Under the Debug Folder and refer to it using this code
The Connection Does not Work, So What is missing for me to do,Code:mycon = New SqlConnection("Data Source=.;Initial Catalog=" & Application.StartupPath & "\Projects.mdf;Integrated Security=True;")
Notice : I Checked all answers on the internet and I tried many things but nothing works,
Appreciate your help.
Thanks, Regards




Reply With Quote
