1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace HotelMIS 7 { 8 public
static class D...
分类:
Web程序 时间:
2014-06-12 19:09:01
阅读次数:
238
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace myTest 7 { 8 class
Program 9 {10...
分类:
其他好文 时间:
2014-06-12 18:22:31
阅读次数:
224
LINQ to SQL 提供了一种非常简单的方法来与 Microsoft SQL Server
数据库交互。1.创建新的 SQL Server 数据库点击”视图“-->“服务器资源管理器” ,打开 “服务器资源管理器”
窗口,如下图:右键“数据连接”,选择“创建新的SQL Server 数据库”,如...
分类:
数据库 时间:
2014-06-12 12:59:53
阅读次数:
419
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;///<summary>///DBOperate的摘要说明///</summary>publicclassDBOperate{privatestaticSqlConnectioncon=..
分类:
数据库 时间:
2014-06-10 23:15:36
阅读次数:
314
继续上一节初始ASP.NET
MVC4,继续深入学习,感受了一下微软的MVC4+EF5(EntityFramework5)框架的强大,能够高效的开发出网站应用开发系统,下面就看一下如何用MVC4+EF5来实现数据的读取。实现效果操作步骤1.创建数据库[sql]view
plaincopyprint?...
分类:
Web程序 时间:
2014-06-10 22:08:51
阅读次数:
375
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.IO;using System.IO.Compression;using
System.Data;namesp...
分类:
其他好文 时间:
2014-06-10 21:53:25
阅读次数:
160
利用扩展方法,实现参数验证。 1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using
System.Threading.Tasks; 6 7 name....
分类:
其他好文 时间:
2014-06-10 12:53:48
阅读次数:
141