摘要:
直接代码: using System.Data.OleDb; string fileName = myFile.FileName; string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath(fileName) + ";Extended Properties='Excel 8.0;HDR=NO... 阅读全文
摘要:
直接代码,红色字体是对大家有用地。 public string ExcelCache { get { string _path = Path.Combine(System.Web.Hosting.HostingEnvironment.ApplicationPhysicalPath, "ExcelBuf... 阅读全文