摘要:
1.导入Interop.SAPFunctionsOCX.dll Interop.SAPlogonCtrl.dll Interop.SAPTableFactoryCtrl2. com端口,缺点:占用线程,单线程 private void getCurrentStock(object obj) { SPItemEventProperties Pro = (SPItemEventProperties)obj; SPListItem item = Pro.ListItem; SAPFunctionsOCX.SAPFunctionsClass func = VStoSAP.getSAPFunctio.. 阅读全文
摘要:
//using (SPWeb web5=site.OpenWeb("RolesManagement")) //{ // SPList listcorp=web5.Lists["CorpManagement"]; //} //using (SPWeb web7 = site.AllWebs["MRBReport"]) //{ // SPList list7 = web7.Lists["MRBReport"]; //} //using (SPWeb web6 = site.OpenWeb("MRBReport 阅读全文