摘要: public PageModel Get(int PageIndex = 1, int PageSize = 5, int Pid = 0, int Tid = 0, int Gid = 0) { DynamicParameters sp = new DynamicParameters(); sp. 阅读全文
posted @ 2020-01-11 08:39 噜啦啦0001 阅读(3450) 评论(0) 推荐(0) 编辑
摘要: 去web配置里改一下版本 版本不一致 改一下就好了 阅读全文
posted @ 2020-01-11 08:37 噜啦啦0001 阅读(620) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 过滤特殊字符 /// </summary> /// <param name="s"></param> /// <returns></returns> public static string String2Json(String s) { StringBuilde 阅读全文
posted @ 2020-01-09 15:08 噜啦啦0001 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Create table Student ( Id int primary key identity, KM varchar(50), Name varchar(52), Score int ) select * from student 列转行 /*SELECT [姓名], max(CASE 课程 阅读全文
posted @ 2020-01-09 15:07 噜啦啦0001 阅读(152) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Datatable转换为Json /// </summary> /// <param name="table">Datatable对象</param> /// <returns>Json字符串</returns> public static string ToJs 阅读全文
posted @ 2020-01-09 15:03 噜啦啦0001 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public static DataTable ToDataTable<T>(this IEnumerable<T> varlist) { DataTable dtReturn = new DataTable(); // column names PropertyInfo[] oProps = nu 阅读全文
posted @ 2020-01-09 15:01 噜啦啦0001 阅读(164) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 将List转化为String /// </summary> /// <param name="Lists"></param> /// <param name="ch"></param> /// <returns></returns> public static s 阅读全文
posted @ 2020-01-09 14:59 噜啦啦0001 阅读(379) 评论(0) 推荐(0) 编辑
摘要: public string StripHT(string strHtml) //从html中提取纯文本 { Regex regex = new Regex("<.+?>", RegexOptions.IgnoreCase); string strOutput = regex.Replace(strH 阅读全文
posted @ 2020-01-09 14:57 噜啦啦0001 阅读(2079) 评论(0) 推荐(0) 编辑
摘要: 在数据库配置管理器Sql server 网络配置中 mssqlserver协议 里面的全部启用即可 阅读全文
posted @ 2020-01-08 16:34 噜啦啦0001 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 点击程序包源 添加一个新的路径为https://www.nuget.org/api/v2 阅读全文
posted @ 2020-01-07 09:10 噜啦啦0001 阅读(3906) 评论(1) 推荐(0) 编辑