摘要:
[DllImport("User32.dll", CharSet = CharSet.Auto)] public static extern int GetWindowThreadProcessId(IntPtr hwnd, out int ID); private void ExportToExcel(string fielName) { //实例化一个Excel.Application对象 Microsoft.Office.Interop.Excel.Application excel = n... 阅读全文