SqlConnection, SqlCommand

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Donnie Darko

    #1

    SqlConnection, SqlCommand


    I'm trying to understand SqlConnection() , SqlCommand()

    For example. I use SqlConnection() as a parameter when I create a new
    SqlCommand. Then I open SqlConnection() , then I execute the SqlCommand().
    At that point I cannot use SqlConnection() again. Unless I .Close() it and
    then .Open it right?

    Then what is 'connection pooling' ?

    Can't I run multiple SqlCommand()s on the same SqlConnection() somehow ?


    --
    incognito @ http://kentpsychedelic.blogspot.com/
Working...