1.将json字符串解析成指定对象 2.将json字符串解析成数组 ...
分类:
Web程序 时间:
2019-06-09 00:44:08
阅读次数:
115
public ActionResult sanji() { var list = bl.sanji(0); var linq = from i in list select new SelectListItem { Text=i.name, Value=i.id.ToString() }; View ...
分类:
其他好文 时间:
2019-05-31 21:39:08
阅读次数:
110
WPF 多语言有各种实现方式。如 https://www.codeproject.com/Articles/35159/WPF-Localization-Using-RESX-Files,后来发现这个不够直接和简洁,在看到这里 https://www.cnblogs.com/yang-fei/p/4 ...
分类:
编程语言 时间:
2019-05-28 17:07:50
阅读次数:
95
什么是Linq表达式?什么是Lambda表达式? 参照:https://www.cnblogs.com/zhaopei/p/5746414.html ...
分类:
其他好文 时间:
2019-05-25 20:06:00
阅读次数:
130
using System; using System.Collections.Generic; using System.Linq; namespace Validation // include rules in the domain that may vary from instance to ... ...
分类:
其他好文 时间:
2019-05-25 19:36:22
阅读次数:
84
linq就是表达式树的最重要价值的体现 因为 可以通过 lambda表达式,直接转换为 expression tree所以,通过linq 所构造 的连式lambda就可以构造任意复杂的算法数据结构 而对这个算法数据结构的,解析,和翻译将可以帮助 实现 跨语言的算法 平移,比如 linq to sql ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:
其他好文 时间:
2019-05-24 12:45:01
阅读次数:
122
这里主要记录下asp.net core web页面上进行导入导出excel的操作。 主要是导入,因为现在使用的很多前端框架(例如kendo ui)本身就有导出的功能。 这里使用到EPPlus.Core,其实对于excel的导入导出还可以使用NPOI, 这里讲解EPPlus的方式 1.创建asp.ne ...
分类:
Web程序 时间:
2019-05-23 00:18:12
阅读次数:
443
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Windows.Forms; 6 using System.Windows.Inp ...
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:
Web程序 时间:
2019-05-18 23:44:54
阅读次数:
191