ASP.NET中 Execl导出的六种方法实例(5)

      
        private void CreateExcelFile(string filePath, DataTable dt1,DataTable dt2,string conditions)

        {

            if (File.Exists(filePath))

            {

                File.Delete(filePath);

            }

            OleDbConnection oleDbConn = new OleDbConnection();

            OleDbCommand oleDbCmd = new OleDbCommand();

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjgypx.html