步骤: 一.前台JS取HtmlTable数据,根据设定的分隔符把数据拼接起来 <!--导出Excel--> <script type="text/javascript"> //导出Excel function exportExcel() { var data = ""; $("#divRptTable").find("table").find("tr").each(function…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Reflection; using YTO.WeiXin.Model; using System.Collections; namespace WeiXin.Core { public class ListToDataTable { public static D…