Is there any way to get the SqlConnection from an SqlDataAdapter?
I had expected to find an SqlDataAdapter.Connection property.
Look at the SelectCommand or whichever command you're interested in.
SqlDataAdapter has property SelectCommand (type of SqlCommand) and SelectCommand has property Connection (type of SqlConnection).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With