摘要: static Result<string> ExportExcel(string excelTemplatePath, DataTable dataSource,Dictionary<string, object> constData,string excelName = null ) { var 阅读全文
posted @ 2019-04-25 21:50 -小打小闹小幸福ζ 阅读(126) 评论(0) 推荐(0) 编辑
摘要: public static string GetShoppingCartID() { HttpContext hc = HttpContext.Current; //如果有登录ID就返回登录ID if (!string.IsNullOrEmpty(hc.User.Identity.Name)) { 阅读全文
posted @ 2017-12-06 13:39 -小打小闹小幸福ζ 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 我们按照常理写成这样:DataSet ds = SqlHelper.ExecuteDataSet(SqlHelper.Connstr, "select * from CMRC_Products where ModelName like '%@str%'", CommandType.Text, new 阅读全文
posted @ 2017-11-14 19:41 -小打小闹小幸福ζ 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 前台代码: <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></ 阅读全文
posted @ 2017-11-14 19:29 -小打小闹小幸福ζ 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 下面是我的代码,被DataTables warning: table id=example - Cannot reinitialise 困扰半天 $(document).ready(function () { var table = $('#example').DataTable({ //ajax 阅读全文
posted @ 2017-10-16 21:32 -小打小闹小幸福ζ 阅读(2463) 评论(0) 推荐(0) 编辑