コードを実行しようとすると、上記のエラーが表示されます。
try
{
com.CommandText = "select * from Export";
com.ExecuteReader();
data_mode = "Export";
com.CommandText = "Insert INTO [" + New_access_file + "]." + data_mode + " select * FROM ExportDATA";
com.ExecuteNonQuery();
}
catch
{
data_mode = "Export";
com.CommandText = "SELECT * INTO [" + New_access_file + "]." + data_mode + " FROM ExportDATA";
com.ExecuteReader();
}