using System;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Linq;
|
using System.Threading.Tasks;
|
|
namespace VueWebCoreApi.Tools
|
{
|
public class DALSkillCondition
|
{
|
/// <summary>
|
/// 下载excel
|
/// </summary>
|
/// <param name="path"></param>
|
/// <param name="num"></param>
|
/// <returns></returns>
|
#region
|
public static bool ResultExcel(string path, DataTable dt)
|
{
|
try
|
{
|
|
NPOIHelper.ExportEasy(dt, path);
|
return true;
|
}
|
catch (Exception)
|
{
|
throw;
|
}
|
|
}
|
#endregion
|
}
|
}
|