






















去掉 ExcelConnection.Open方法中的抛出异常:
Open方法修改后的代码应该是
public override void Open()
{
try
{
string str = y.d(this.GetType().AssemblyQualifiedName);
if (str == null)
{
}
if (y.c(str) != y.n)
{
}
this.l = ConnectionState.Connecting;
this.a(this.i, this.p);
this.l = ConnectionState.Open;
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
this.l = ConnectionState.Closed;
throw;
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。