S
Scott B
Can someone perhaps give me some insight as to why I am getting an
OleDbexception when I try to run the following code.
What I am looking to do is test if the connection could be opened and if
not, then have it fall back to a seccondary connection string.
However whenever I try to test the connection I get an OleDbconnection
exception....
OleDbConnection m_Conn = new OleDbConnection();
m_Conn.ConnectionString = ConnString;
m_Conn.Open();
if(m_Conn.State != ConnectionState.Open)
{
}
OleDbexception when I try to run the following code.
What I am looking to do is test if the connection could be opened and if
not, then have it fall back to a seccondary connection string.
However whenever I try to test the connection I get an OleDbconnection
exception....
OleDbConnection m_Conn = new OleDbConnection();
m_Conn.ConnectionString = ConnString;
m_Conn.Open();
if(m_Conn.State != ConnectionState.Open)
{
}