Asp.net Mvc4
Stranger。
一个正在减肥的胖子
展开
-
linq list去除重复项
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication5{ class Program { static void Main(string[] args)转载 2015-10-11 10:49:27 · 668 阅读 · 0 评论 -
ASP.NET MVC计划任务实现方法(定时执行某个功能)
系统中定时执行某个任务是比较常用的功能,如一个部门定期向上级部门上报数据是一个典型的例子,下面就简单说说在.net mvc中如何实现定时执行某个功能的方法。1、首先修改Glocal.asax文件,在Application_Start方法最下面加入://定义定时器//1000表示1秒的意思System.Timers.Timer myTimer = new System.Timers.Ti转载 2015-10-11 16:33:17 · 5071 阅读 · 1 评论 -
C#字符串数组中含数字时的排序
遇到这个问题时,从论坛看到的,放到这来做个记录!有个array:string[333] fileList = {"list_1.htnl","list_10.html","list_100.html","list_101.html"......,"list_109.html","list_11.html"......}意思就是,字符串默认的排序并不是按照这种最末尾的数字排序的。我想要生转载 2015-12-04 13:11:24 · 9542 阅读 · 3 评论