hi there
In am a user of VB6 and want switch to VB.net
i try to find the option of DATA ENVIROMENT in VB.net. but i can't found it.
how i work in VB.net with Local database and with LAN computer DATAbase
thankx
Printable View
hi there
In am a user of VB6 and want switch to VB.net
i try to find the option of DATA ENVIROMENT in VB.net. but i can't found it.
how i work in VB.net with Local database and with LAN computer DATAbase
thankx
Maybe you want to ask that in VB.Net forum instead? ;)
I'm moving your thread since it appears you are using vb.net.
Ps, there is no data environment. Its a VB 6 only utility.
I'm not sure what that Data Environment business is but how you connect to a database in VB.NET is controlled by your connection string. Depending on how you create your data access objects you may create your connection (semi) visually and the IDE will generate the connection string for you, or you can create it in code. See www.connectionstrings.com for various connection string formats.
Are you trying to use a different connection string depending on whether you're debugging or not? If so then you'd just add code something like:to override the default connection string while debugging.vb.net Code:
#If DEBUG myConnection.ConnectionString = "debug connection string here" #End If