usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Web.SessionState;namespacefriends{//////Hand...
分类:
其他好文 时间:
2014-05-16 03:53:53
阅读次数:
381
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6
using System.Security....
分类:
其他好文 时间:
2014-05-15 17:20:45
阅读次数:
329
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187
好好学习c#代码,学了怎么调用类using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace robot{
class Program { static...
分类:
其他好文 时间:
2014-05-15 10:45:07
阅读次数:
263
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace MegreSort{ class Program { static void
Main(s...
分类:
其他好文 时间:
2014-05-15 09:21:59
阅读次数:
171
相信很多人刚接触EF+MVC的时候,会有这个疑问,就是当我们在model类中加验证信息的时候,会在重新生成model的时候被重写掉。这里介绍一个方法:
比如我有个Employee类是从数据库中生成到model中的,我们可以在Models文件夹中创建一个部分类名称与Employee类同名,然后在新建的部分类中加上我们需要验证信息,这时我们在view页面中引用Models.Employee做为页面m...
分类:
其他好文 时间:
2014-05-15 05:28:06
阅读次数:
411
//dal类: public class BaseDAL
{
string strConn = "";
public BaseDAL(string connString)
{
strConn = connString;
}
#region 通用增删改查
#region...
分类:
其他好文 时间:
2014-05-15 05:20:18
阅读次数:
283
1.查看程序对应进程号:ps–ef|grep进程名2.Linux下查看端口号所使用的进程号:使用lsof命令:lsof–i:端口号
分类:
系统相关 时间:
2014-05-14 22:55:34
阅读次数:
483
在学习简单工厂模式之前让我们先看看不用简单工厂模式所带来的不便把,我们以一个四则运算的计算器为例逐步的进行说明问题,首先先看看用面向程序的思想实现计算器的过程using
System;using System.Collections.Generic;using System.Linq;using S...
分类:
其他好文 时间:
2014-05-14 13:00:49
阅读次数:
244
摘要:silverlight是微软公司全力打造的一种跨平台、跨浏览器的RIA新技术,silverlight以XAML为界面呈现语言,支持2D矢量图形、动画、数据绑定、控件风格与模板、LINQ、WCF、JSON、Socket和跨域访问等高级特性,对于互联网用户来说,Silverlight是一个安装简单...
分类:
Web程序 时间:
2014-05-14 12:07:14
阅读次数:
369