Advertisement

Excel 的 DLL 生成 Excel 文档

阅读量:
复制代码
 using System;

    
 using System.Collections.Generic;
    
 using System.Text;
    
 using System.Web;
    
 using System.IO;
    
 using PackingDetailModel = Supplier.Model.PackingDetailModel;
    
 using Microsoft.Office.Interop.Excel;
    
  
    
 namespace Supplier.Common
    
 {
    
     public class ExcelDLLHelper
    
     {
    
     private const string FORMAT = "@";
    
     private static string path = HttpContext.Current.Server.MapPath(@"~/Upload/Invoices/" + PageHelper.BillId() + ".xls");
    
  
    
     public static void GainOCExcel(HttpRequest request, HttpResponse r

全部评论 (0)

还没有任何评论哟~