首先,要新建一个组件。using System;using System.Collections.Generic;using System.ComponentModel;using System.Diagnostics;using System.Linq;using System.Text;usin...
分类:
其他好文 时间:
2014-08-08 17:21:46
阅读次数:
456
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
其他好文 时间:
2014-08-08 12:22:15
阅读次数:
267
1 using System; 2 using System.Data; 3 using System.Collections.Generic; 4 using System.Data.Entity; 5 using System.Linq; 6 using System.Linq.E...
分类:
其他好文 时间:
2014-08-08 11:53:37
阅读次数:
338
1.简单的linq语法 //1 var ss = from r in db.Am_recProScheme select r; //2 var ss1 = db.Am_re...
分类:
其他好文 时间:
2014-08-08 11:50:35
阅读次数:
197
-------------------------------------------------------------Proson.csusingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication2
{
publicclassProson
{
publicstringName{get;priv..
分类:
其他好文 时间:
2014-08-08 02:12:05
阅读次数:
184
============================================多播委托-------------------------------------主程序usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication3
{
classProgram
{
stati..
分类:
其他好文 时间:
2014-08-08 02:10:55
阅读次数:
272
private void SetTextReadOnly(Control ctr, bool blReadOnly) { ctr.Controls.Cast().Select(s => s).ToList().ForEach(s => ...
分类:
其他好文 时间:
2014-08-07 18:30:21
阅读次数:
170
来自《西夏普入门经典》using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;namespace ConsoleApplication1{ .....
分类:
其他好文 时间:
2014-08-07 12:59:40
阅读次数:
217
服务端代码(Server.cs): 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Net.Sockets; 6 us...
分类:
其他好文 时间:
2014-08-07 12:00:00
阅读次数:
236
几年前曾经用户微软的Linq to SQL,那是第一次在.net项目上使用ORM(IBATIS这种半成品除外),从此后便对ORM产生了兴趣,终于不用写SQL语句了,代码看起来也很和谐了。之后也学习了EntityFramework,于是乎又进入了对.net mvc的追逐。曾经觉得J2ee的mvc真是个...
分类:
Web程序 时间:
2014-08-07 00:45:37
阅读次数:
480