none
VB.net OLEDB test if connection is open

    Question

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

    IF database.open() then...

    Appreciate your assistance

     

    Sunday, October 10, 2010 9:40 AM

Answers

  • Check the OleDbConnection.State property.

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