执行以下代码时,我得到了例外:
远程过程调用失败。 (HRESULT异常:0x800706BE)
List<string> List_Items = new List<string>();
List_Items = Retail_Team_Id.Get_Retail_Team_Id(Incident_Path, List_Retail);
for (int i = 0; i < List_Items.Count(); i++)
{
MySheet.Cells[(i+2), 40] = List_Items[i];//Here getting the exception
}