January 30, 2006 at 4:57 am
Hi,
I have a form with a data connection and a data adapter. When I try adding another data adapter for another table in the same database the wizard also adds another dataconnection why??
January 30, 2006 at 7:54 am
You'll have better luck in a .NET forum with this question.
January 30, 2006 at 8:59 am
Here's a guess: the wizard knows nothing of the other connection, so better to not use the wizard. It depends also on what you're trying to do.
You should probably grab all the data at one time (one connection).. you just need to find some examples on line to help you out, but you won't find much .NET code here.. try the forums at http://www.asp.net for starters.
January 31, 2006 at 2:01 pm
I assume you are using Visual Studio.NET and the Data Adapter Configuration Wizard. The first thing that the wizard asks you is which data connection to use. If you select from the drop-down the existing connection you want to use, it should not create a new connection. Hope that helps!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply