은 다음과 같은 것을 시도
에서 System.data.dll
에서 System.Data.OleDb를 사용하고 있는지 확인하십시오 :
using (OleDbConnection connection = new OleDbConnection(connectionString))
{
// Declare Command
OleDbCommand command = new OleDbCommand(YourSQL);
// Set the Connection to the new OleDbConnection.
command.Connection = connection;
// Open the connection and execute the command.
try
{
connection.Open();
command.ExecuteNonQuery();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
// The connection is automatically closed when the
// code exits the using block.
}
당신이이 문제를 봤나요? 나는 좋은 결과를 얻는다 : http://www.google.de/search?source=ig&hl=de&rlz=&=&q=AccessViolationException+connection+dialog&btnG=Google-Suche&aq=f&oq= –
그래,하지만 그건 내 도움이 안된다. 발행물. – Paul