Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 24th, 2008, 02:56 PM
Authorized User
 
Join Date: Sep 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default removing "data connections"

sorry to post again soo soon but could not find answer in books.

in learning how to work with databases .. using the data-access wizzard .. i ended up with several (data-connections) showing up in the (new connection) drop-down combo box.

? how do i remove the data-connections i don't want ?

jerry .. wa0h


jerry gentry .. i am not retired, i just got so old that nobody would hire me anymore.
__________________
jerry gentry .. i am not retired .. but after 47 years of computer programming .. i got so old that nobody will hire me anymore.
 
Old September 24th, 2008, 03:46 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Hi there.. I think (if my memory don't fail) that all of them are declare in the web.config file..

If not, could be an IDE help (that's not being very helpful for you)...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old September 25th, 2008, 10:38 AM
Authorized User
 
Join Date: Sep 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi gonzalo

i checked all the web.config files i could find .. but non of them contained the data connection entries.

i don't know if it matters, but it is not a web application, it is a standalone (windows form) app.

i ended up with several entries of the form ..
DatabaseXConnectionString (my settings)

the wizzard allows you to create new connections, but not remove them.

jerry .. wa0h
 
Old September 25th, 2008, 11:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

I'm aware of that.. Never know where the ide store them..

Maybe in the config file??? or the project file?? I think there are somewhere.. let me check...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Several Data Connections for 1 Listbox??? lnickol22 Visual Basic 2005 Basics 3 February 12th, 2008 12:58 PM
Help with connections dotnetfreak ASP.NET 1.0 and 1.1 Basics 21 January 18th, 2007 02:07 PM
Removing a machine data source hamffjs Access 3 August 21st, 2006 10:03 AM
Problem with Data Connections NuB BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 March 15th, 2006 08:52 PM
Connections saulodet ADO.NET 2 January 2nd, 2004 04:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.