会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
成败在我手
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
下一页
2016年2月24日
在Vs2012 中使用SQL Server 2012 Express LocalDB打开Sqlserver2012数据库
摘要: 背景:个人电脑中使用的是VS2012,数据库为2008R2,最近需要打开一个SqlServer2012的数据库 如果在本机安装一个2012的数据库可能比较浪费时间,本来是想在如万网等服务商那边购买一个2012的数据库来使用的,但发现目前的服务商最高提供的数据库为2008R2 既然不想安装新的数据库版
阅读全文
posted @ 2016-02-24 15:22 成败在我手
阅读(462)
评论(0)
推荐(0)
2016年2月23日
c# 扩展方法奇思妙用基础篇八:Distinct 扩展
摘要: 刚看了篇文章 《Linq的Distinct太不给力了》,文中给出了一个解决办法,略显复杂。 试想如果能写成下面的样子,是不是更简单优雅 var p1 = products.Distinct(p => p.ID); var p2 = products.Distinct(p => p.Name); 使用
阅读全文
posted @ 2016-02-23 15:52 成败在我手
阅读(396)
评论(0)
推荐(0)
2015年6月17日
IIS配置MVC网站
摘要: 我自己随便写了个MVC网站,能够 在vs2010里直接运行。但是加到IIS里之后却显示403.14错误,说是服务器没有启动“目录浏览”或没指定默认的文件。当然,我没有必要启动“目录浏览”,又因为MVC是由router来控制的,我也没有必要指定其它的默认文件。我看了看C:\Windows\System...
阅读全文
posted @ 2015-06-17 23:31 成败在我手
阅读(1707)
评论(0)
推荐(0)
2015年6月7日
JS生成Guid
摘要: 点击按钮
阅读全文
posted @ 2015-06-07 16:07 成败在我手
阅读(367)
评论(0)
推荐(0)
2015年5月31日
MVC——分页
摘要: 添加类PageBar.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;namespace System.Web.Mvc{ public st...
阅读全文
posted @ 2015-05-31 15:16 成败在我手
阅读(194)
评论(0)
推荐(0)
MVC入门——删除页
摘要: 添加ActionDeleteUserInfousing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplicationStudy....
阅读全文
posted @ 2015-05-31 15:05 成败在我手
阅读(188)
评论(0)
推荐(0)
MVC入门——编辑页
摘要: 添加Action EditUserInfousing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplicationStudy.M...
阅读全文
posted @ 2015-05-31 14:57 成败在我手
阅读(308)
评论(0)
推荐(0)
MVC入门——详细页
摘要: 添加ActionShowDetailusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplicationStudy.Mode...
阅读全文
posted @ 2015-05-31 14:49 成败在我手
阅读(219)
评论(0)
推荐(0)
MVC入门——列表页
摘要: 创建控制器UserInfoControllerusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplicationStudy...
阅读全文
posted @ 2015-05-31 14:41 成败在我手
阅读(260)
评论(0)
推荐(0)
MVC入门——增
摘要: 创建数据库表如下:生成EF模型//------------------------------------------------------------------------------// // 此代码是根据模板生成的。//// 手动更改此文件可能会导致应用程序中发生异常行为。//...
阅读全文
posted @ 2015-05-31 14:26 成败在我手
阅读(204)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
下一页
公告