Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Connection to .mdf database closed immediately after start debug on Visual Studio 2005

$
0
0

Hi all,

I have added SQL Database called "LangkaDatabase.mdf" into the project. I have also created a new table called "Members" and populated with data, and added Members dataset into Form1 in the project (by dragging it). But after run the application, the data connection to LangkaDatabase.mdf disconnected immediately (this is shown on the Server Explorer by Red Cross on the LangkaDatabase.mdf). Could someone please show me how to keep the connection open when run the application?? Any help greatly appreciated...

Thanks

 


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>