自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

转载 javascript 回调涵数最暴力最直接最简单理解!

1 <script> 2 function add(num1,num2,callback){ 3 var num=num1+num2; 4 callback(num); 5 } 6 add(1,2,function(num){ 7 debugger 8 alert(num); 9 })10 </s...

2017-10-26 22:28:00 101

转载 linq

query = query.Where(t => deptquery.Select(l=>l.id).Contains(t.Department));获取deptquery部门集合中所有员工转载于:https://www.cnblogs.com/XiaoJie85/articles/5198705.html

2016-02-18 16:56:00 95

转载 List<T>实现分页!

1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ADTO.OA.Common 8 { 9 public cla...

2015-11-26 18:02:00 139

转载 返回List<T>T中指定字段

var model = DataPage<Usp_GetMyProcessTaskEntity>.ToPage(lugmpt, myModel.PageIndex.ToInt(), myModel.PageSize.ToInt()); jm.data = model.Select(u=>new { ID=u.ID });转载于:https:/...

2015-11-26 18:00:00 497

转载 让WebApi支持多个get方法,,

在webapi项目里修改webapiconfig.cs在默认路由上面添加自定义路由 config.Routes.MapHttpRoute( name: "AppWebApi", routeTemplate: "api/{controller}/{action}/{id}", defaults: new { id = RouteParameter.Optional }...

2015-11-25 15:32:00 243

转载 跨线程访问

有form1 form1里有个textbox1控件有class1类 ,,在class1里面访问form1里面的textbox1控件很容易直接在class 里面 方法里面接收form1 比如1 public void operation(form1 f1)2 3 {4 5 可以直接操作f1就相当操作form16 7 }如果是在...

2015-03-10 16:33:00 77

转载 多线程传多个参数或对象!

ThreadStart ts = new ThreadStart(delegate()//这里必需为委托 { op.Login(logininfo);//这里可以传多个参数或对象等 }); Thread t = new Thread(ts); t....

2015-03-10 16:26:00 121

转载 C# OpenProcess 用法

C# OpenProcess用法 .分类: C#操作内存相关 2011-11-26 23:51 124人阅读 评论(0) 收藏 举报 函数功能:该函数用来打开一个已存在的进程对象,并返回进程的句柄。函数原型:HANDLE OpenProcess(DWORD dwDesiredAccess,BOOL bInheritHandle,DWORD dwProcessId);...

2012-04-23 13:17:00 336

转载 IEnumerable 和 IEnumerator 接口的作用

IEnumerable:实现IEnumerable接口的类,可以支持foreach循环遍历对象的集合元素IEnumerator GetEnumerator()返回可循环访问集合的枚举数。IEnumerator:object Current获取集合中的当前元素。bool MoveNext()将枚举数推进到集合的下一个元...

2011-10-19 07:50:00 119

转载 IEnumerable 接口

View Code 1 using System; 2 using System.Collections; 3 4 public class Person 5 { 6 public Person(string fName, string lName) 7 { 8 this.firstName = fName; 9 ...

2011-10-19 07:47:00 81

转载 关于泛型和非泛型

View Code 1 //用来记录开始和结束的时间 2 DateTime startTime = new DateTime(); 3 DateTime endTime = new DateTime(); 4 5 //定义集合类型ArrayList的一个实例 6 ArrayList list = new ArrayList(); 7 8 //取得当前时间 9 startTi...

2011-10-19 07:18:00 90

转载 c# 通过WMI实现远程文件操作

using System;using System.Collections.Generic;using System.Text;using System.Management;using System.IO;using System.Diagnostics;using System.Threading;using Log;using System.Wi...

2011-08-05 06:05:00 281

转载 印度大片

有几个印度大片很好看,,有喜剧也有励志的!三傻大闹宝莱坞燃情迈阿密贫民窟的百万富翁冒牌本拉登未知死亡宝莱坞机器人之恋转载于:https://www.cnblogs.com/XiaoJie85/archive/2011/08/03/2126690.html...

2011-08-03 21:54:00 213

转载 网上找到最好关于socket编程实例源码

在博客园看到关于socket最简单最精辟最好的实例源代码!TCPServerCode 1 using System; 2 using System.Net; 3 using System.Net.Sockets; 4 using System.Text; 5 6 namespace tcpserver 7 { 8 /// <summary> 9 ...

2011-08-03 18:38:00 99

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除