自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(91)
  • 收藏
  • 关注

转载 ForEach

class Program { static void Main() { int index = 0; List<String> names = new List<String>(...

2018-01-07 15:50:00 142

转载 C#修饰符

类默认internal 转载于:https://my.oschina.net/xuyuchends/blog/916707

2017-06-07 22:30:00 128

转载 Ngen.exe

本机影像生成器(Ngen.exe)工具使用实践 先介绍一点背景知识;.Net程序在运行时会实时(JIT)编译,将.Net程序文件编译成cpu认识的汇编机器码。实时编译需要消耗额外的cpu和内存资源,这对于服务器端程序是无关紧要的,因为实时编译只在程序第一次运行时编译,之后就不需要再做了;如果...

2017-03-28 21:19:00 140

转载 Test Authoring and Execution Framework(TAEF)

1. Download ”windows driver kit 10” for windows 10 (I can’t download it in the office) 2. run cmd and cd %programfiles%\Windows Kits\8.0\Testing\Ru...

2017-03-28 21:08:00 165

转载 VS 开发Angular 配置

新建项目->联机->Angular2VisualStduioTemplete 安装这个模块 使用这个模块新建项目,在 Nuget中安装angularJS和angular Core最新包 第一次编译 会下载node_modules 这个目录,AngularJS app.com...

2017-03-25 16:52:00 202

转载 MVC自定义验证信息

public class MaxWordsAttribute: ValidationAttribute { private readonly int _maxMords; public MaxWordsAttribute(int maxMords):ba...

2017-03-06 21:46:00 100

转载 linq嵌套查询

转载于:https://my.oschina.net/xuyuchends/blog/852122

2017-03-05 15:35:00 57

转载 文本模糊效果

转载于:https://my.oschina.net/xuyuchends/blog/852124

2017-03-05 15:35:00 71

转载 jquery的grep,match 方法

jQuery.grep(array, callback,[invert]) array:待过滤数组。 callback:此函数将处理数组每个元素。第一个参数为当前元素,第二个参数而元素索引值。此函数应返回一个布尔值。 invert:如果 "invert" 为 false 或为设置,则函...

2017-03-05 15:35:00 234

转载 部分视图跳转

var album = GetDailyDeal(); return PartialView("_DailyDeal", album); 通过NuGet需要添加microsoft.jquery.unobtrusive.ajax 方法一 在BundleConfig.cs 里添加 bu...

2017-03-05 15:35:00 67

转载 iis 创建sql的session state

@# 2.web.config 修改 <sessionState cookieless="UseCookies" mode="SQLServer" sqlCommandTimeout="604800" sqlConnectionString="data source=.;user id=...

2017-03-05 15:35:00 126

转载 ajax.net updatepanel 中数据量过大导致 500 错误

转载于:https://my.oschina.net/xuyuchends/blog/852128

2017-03-05 15:35:00 86

转载 删除某个数据库所有表的数据

转载于:https://my.oschina.net/xuyuchends/blog/852129

2017-03-05 15:35:00 113

转载 yyyyMMddHHmmss转变为日期格式

转载于:https://my.oschina.net/xuyuchends/blog/852130

2017-03-05 15:35:00 175

转载 IEnumerable IList List区别

转载于:https://my.oschina.net/xuyuchends/blog/852131

2017-03-05 15:35:00 118

转载 模板页Section设置

母版页@RenderSection("head", required: false) 内容页@section head { <script type="text/javascript" src="@Url.Content("~/scripts/AjaxDem...

2017-03-05 15:35:00 114

转载 label标签for的作用

<label for="name">Name</label> <input id="name" type="text" name="name" /></li> <li><input id="Submit" type="submi...

2017-03-05 15:35:00 162

转载 virtual和abstract 方法的区别

相同点: 虚方法(virtual)和抽象方法(abstract)都可以被派生类重写 不同点: 1.虚方法(virtual)有方法实体,抽象方法(abstract)没有方法实体【类似接口】 virtual void SayWord() { //代码 } abstract voi...

2017-03-05 15:35:00 82

转载 jquery div 交换

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <script src="h...

2017-03-05 15:35:00 100

转载 前后台绑定数据

转载于:https://my.oschina.net/xuyuchends/blog/852137

2017-03-05 15:35:00 87

转载 验证密码

转载于:https://my.oschina.net/xuyuchends/blog/852139

2017-03-05 15:35:00 122

转载 数据库连接

GuestbookContext" connectionString="server=.;database=Guestbook;uid=sa;pwd=qwe123!@#" providerName="System.Data.SqlClient" /> 2.创建DbContext,类的名字...

2017-03-05 15:35:00 63

转载 顶部阴影效果

转载于:https://my.oschina.net/xuyuchends/blog/852141

2017-03-05 15:35:00 133

转载 jQuery的图片预加载函数

1 (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = func...

2017-03-05 15:35:00 80

转载 检查checkbox是否被选中

$('input:checkbox').each(function () // 循环每个checkbox parseInt($(this).val();// 计算 check box的值 sample <!DOCTYPE htm...

2017-03-05 15:35:00 83

转载 ajax 添加评论

@model IEnumerable<string> @section head { <script type="text/javascript" src="@Url.Content("../../scripts/ajaxdemo.js")"></script&g...

2017-03-05 15:35:00 115

转载 reporting service PDF中每页显示标题

转载于:https://my.oschina.net/xuyuchends/blog/852145

2017-03-05 15:35:00 145

转载 linq关联查询

转载于:https://my.oschina.net/xuyuchends/blog/852146

2017-03-05 15:35:00 108

转载 iis中使用端口号

转载于:https://my.oschina.net/xuyuchends/blog/852147

2017-03-05 15:35:00 394

转载 vb 循环控件

转载于:https://my.oschina.net/xuyuchends/blog/852148

2017-03-05 15:35:00 166

转载 跨服务器连接数据库

@server = N'192.168.1.102\SQLEXPRESS', @srvproduct=N'SQL Server' ; GO --把数据库加到本地的类似连接池里. select * from [192.168.1.102\SQLEXPRESS].Buffalos.dbo.Menu...

2017-03-05 15:35:00 119

转载 css3 彩色图片转换成黑白图片

转载于:https://my.oschina.net/xuyuchends/blog/852150

2017-03-05 15:35:00 119

转载 ajax请求

转载于:https://my.oschina.net/xuyuchends/blog/852151

2017-03-05 15:35:00 103

转载 配置权限访问

filters.Add(new AuthorizeAttribute()); filters.Add(new HandleErrorAttribute()); } 如果需要过滤角色才能访问还需要添加 public static void RegisterGlobalFilters(Global...

2017-03-05 15:35:00 98

转载 IIS文件夹需要用户名密码

转载于:https://my.oschina.net/xuyuchends/blog/852154

2017-03-05 15:35:00 120

转载 一条linq

转载于:https://my.oschina.net/xuyuchends/blog/852155

2017-03-05 15:35:00 88

转载 文本框设置placeholder

转载于:https://my.oschina.net/xuyuchends/blog/852156

2017-03-05 15:35:00 171

转载 c# split三种用法

转载于:https://my.oschina.net/xuyuchends/blog/852157

2017-03-05 15:35:00 96

转载 装了NET Framework后再装IIS

转载于:https://my.oschina.net/xuyuchends/blog/852158

2017-03-05 15:35:00 101

转载 html5控件

sample My name is:<input type="text" id="name" name="name" required> required 指明它是必填项 My email address is: <input type="email" id="ema...

2017-03-05 15:34:00 54

空空如也

空空如也

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

TA关注的人

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