摘要: stringDepartment="Billing";DirectorySearcherLdapSearcher=newDirectorySearcher();LdapSearcher.PropertiesToLoad.Add("displayName");LdapSearcher.PropertiesToLoad.Add("cn");LdapSearcher.PropertiesToLoad.Add("department");LdapSearcher.PropertiesToLoad.Add("tit 阅读全文
posted @ 2012-07-28 19:51 hishanghai 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Here's a quick tip to get started working with Excel interop in C#.// Create a new instance of the Excel applicationexcelFile = new Excel.ApplicationClass(); Excel.Workbook workbook = excelFile.Workbooks.Add(Type.Missing); // Now create a brand new workbookexcelFile.Visible = true; // ensure tha 阅读全文
posted @ 2012-07-28 17:13 hishanghai 阅读(700) 评论(0) 推荐(0) 编辑