OleDbConnection

This is a discussion on OleDbConnection within the C# Programming forums, part of the General Programming Boards category; Hi All, After creating a OleDbConnection from the Toolbox, how do I access it within my Form class? Thanks, Paddy...

  1. #1
    JBravo
    Guest

    OleDbConnection

    Hi All,
    After creating a OleDbConnection from the Toolbox, how do I access it within my Form class?

    Thanks,
    Paddy

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    You can open and close the connection by calling the Open and Close public member functions. If you want to send statements use the OleDbCommand class.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21