none OLEDB test if connection is open


  • How do I check to see if an Access database connection is open or not?
    Is there an equivalent test as VB6

    IF then...

    Appreciate your assistance


    Sunday, October 10, 2010 9:40 AM


  • Check the OleDbConnection.State property.

    Miha Markic [MVP C#]
    • Marked as answer by Roahn Luo Wednesday, October 13, 2010 9:02 AM
    Tuesday, October 12, 2010 6:43 AM