February 13, 2006 at 7:21 am
Hi,
I've created an sqlConnection for my sql server database, and as I understand it you only need 1 sqlConnection per database.
So why does adding a dataAdapter cause another splConnection to be created?
February 14, 2006 at 6:21 am
I assume you're talking about .Net. I have no idea why it forces you to create a new connection for each new data adapter created in the visual designer. But I do know that it's very annoying, especially when you're using a dynamic connection and then .Net keeps trying to create static ones.
I've no boubt there's some obscure checkbox somewhere that tells the designer not to behave this way but I've never come across it.
My solutions:
1) Do it the old fashioned way without using the visual designer
2) Put up with it and just keep deleting the new connection and reconnecting your DAs to the original connection object
All the best
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy