自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

cooleader320的专栏

沟通发现价值,技术创造财富

  • 博客(132)
  • 资源 (6)
  • 收藏
  • 关注

原创 LVS 配置

LVS ,NAT ,DR, IP tuneling

2015-09-21 14:21:21 393

原创 img

some stuffs

2014-03-02 14:30:29 591

原创 List 按层次结构排序

问题描述:一个List, T 的基本定义如下Data,要求实现按照层次结构排序,即排序结果如下:L1 L1.1   L1.1.1   L1.1.3 L1.2   L1.2.1   L1.2.2 L1.3L4 L4.1 using System;using System.Collections.Generic;using

2013-11-02 21:34:14 2251

原创 Javascript 中的this 关键字

规则如下:全局代码中指向全局对象 (浏览器的window对象)函数代码中,如果 :函数作为对象的属性被调用(如:obj.fun() or obj['fun']()   ),this指向对象本身非1 的情况,this 指向全局对象(浏览器的window对象)使用new 关键字被调用 ( 如: var a= new Function1()) ,this 指向新创建的对象的本

2013-08-21 21:17:21 562

原创 .net 类型描述提供器

.net 类型描述提供器,主要功能:链式枚举类型中的属性,数据绑定(尤其是绑定对象中含有聚合对象的时候)的时候非常有用快速访问类型中的属性,提供数据绑定效率  (参考:http://www.codeproject.com/Articles/18450/HyperDescriptor-Accelerated-dynamic-property-acces)how to use : [

2013-06-22 13:53:57 843

转载 15 Things Successful People Do

https://www.linkedin.com/today/post/article/20130403143109-5799319-15-things-successful-people-do?goback=%2Egde_2121660_member_229223634&_mSplash=1 “Success is to be measured not so much by the po

2013-04-12 20:01:53 989

转载 SQL Server 2005 Beta 2 Transact-SQL Enhancements

http://msdn.microsoft.com/en-us/library/ms345144(v=sql.90).aspx

2012-12-25 15:24:18 424

原创 mock interview

1.    Can you tell me about yourself?    My name is XX ,you can call me benny. i was born in jiangsu province and graduated from Norhwest Uninversity which locates in Shaanxi ,China in 2005 .until

2012-12-11 19:04:53 1050

转载 jQuery.extend 函数详解

原文:http://www.cnblogs.com/RascallySnake/archive/2010/05/07/1729563.html JQuery的extend扩展方法:      Jquery的扩展方法extend是我们在写插件的过程中常用的方法,该方法有一些重载原型,在此,我们一起去了解了解。      一、Jquery的扩展方法原型是:    exten

2012-12-01 23:00:38 389

原创 一个简单的数据库备份脚本

--Simple Backup script to backup all the databasesDECLARE @name VARCHAR(50) -- database name DECLARE @path VARCHAR(256) -- path for backup files DECLARE @fileName VARCHAR(256) -- filename fo

2012-12-01 12:07:14 668

原创 Benny's Profile

Benny’s Profile Strength Summary: l Been working in software industry for more than 7 yearsl Be expert in Microsoft .NET design and development technologies(MCSD certif

2012-11-18 22:38:18 628

转载 Getting rid of strings

meet the villain http://blog.andreloker.de/post/2008/06/Getting-rid-of-strings-%281%29-meet-the-villain.aspxuse lambda expressions http://blog.andreloker.de/post/2008/06/12/Get

2012-08-26 21:43:38 457

转载 Mocking frameworks in .Net 例子

http://blog.eweibel.net/?p=376

2012-08-26 15:34:36 479

转载 .net mocking 框架比较

.Net Mocking Frameworks – Capability Comparisonhttp://www.phpvs.net/2009/04/25/net-mocking-frameworks-capability-comparison/http://code.google.com/p/mocking-frameworks-compare/http://www.solutio

2012-08-26 14:57:31 629

原创 COM 与 .net 的互操作

Calling COM Components from .NET Clientshttp://msdn.microsoft.com/en-us/library/ms973800.aspx Calling a .NET Component from a COM Componenthttp://msdn.microsoft.com/en-us/library/ms973802.

2012-08-18 14:43:50 591

原创 SQL Script Demo

USE NeweggGo/*================================================================================ Server: Newsql DataBase: NeweggAuthor: BennyObject: [dbo].[UP_NESO_TransferCOMReasonCod

2012-07-30 21:15:52 534

原创 常用SQL规范

/*==========================代码格式规范=====================*//*1.T-SQL脚本有必要的缩进和换行,代码层次结构清晰,一行的最大长度一般不要87个字符;代码使用统一的风格,例如:如果使用空格作为缩进,则不能再使用TAB做缩进处理*/USE TestGO--错误的格式DECLARE @TransactionNumber IN

2012-07-30 21:07:35 2311

原创 如何配置Asp.net 2.0 缺省提供的 的 Role,MemberShip Provider

connectionStrings>节点下配置默认的数据库连接,默认名称为:LocalSqlServer remove name="LocalSqlServer"/>    add name="LocalSqlServer"    connectionString="Server=localhost,1433;Database= ???;User=???;Password=???;"

2012-07-29 16:05:43 653

原创 C# Singleton Pattern Demo

public class CustomerManager{ private static volatile CustomerManager _instance; private static object syncRoot = new Object(); private CustomerManager() {

2012-07-16 22:41:14 519

原创 general .net interview questions

What is garbage collection?Garbage collection is the process of managing the allocation and release of memory in your applications.A garbage collector performs periodic checks on the managed heap

2012-07-16 22:37:39 435

原创 personal resume template

Position Applied:Senior Software Engineer/Project ManagerProfile No.:  Strength Summary: l  Been working in software industry for more than 7 years

2012-07-16 22:03:12 1219

原创 Jquery 调用asp.net ajax (web service/static page method)的示例(二)---复杂参数

示例二(复杂参数的情况)    对于这种情况下的调用,客户端使用到一个小技巧,即:创建DTO 对象 (Data transfer object  ),个人常称之为 JSON包装对象前台页面 代码 UseDTO.aspx (示例代码是含有一个masterpage的content page ,master page 里面引用了Jquery 的脚本):<%@ Page Title=""

2012-07-13 22:37:36 1018

原创 Jquery 调用asp.net ajax (web service/static page method)的示例(一)---简单参数

示例一(无参数的情况) :$.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "WebService.asmx/WebMethodName", data: "{}", //当被调用的page method 或则 web service 的方法

2012-07-13 22:24:49 1633

原创 asp.net ajax 关于ajax 调用的限制

asp.net ajax 扩展在使用客户端js脚本调用的时候,有些安全限制(主要为了防止XSS攻击):默认支持的请求的类型必须是 HTTP POST请求的 content-type 必须是 application/json; charset=utf-8ASP.NET AJAX script services and page methods  能够理解并接受的参数只能是JSON 的字符串。

2012-07-13 22:19:41 3305

原创 JQuery基础知识(二)

1.  .main a & .main >a 的区别: 前者选择使用了.main的这个class的元素内部所有的a节点, 后者只选择.main的子节点中的a节点2. toggle方法让显示的元素隐藏起来,隐藏的元素显示出来。参数使用方法和show,hide相同3.slideDown,slideUp可以实现向下或向上卷动的效果4.DOCTYPE对于JQuery中的动画是有影响的。

2012-07-11 21:57:37 788

原创 JQuery基础知识(一)

1. HTML 负责页面内容,CSS 负责页面式样,JS 负责页面行为2.$(document).ready(function(){}); 定义页面完全装载完成后,需要执行的方法,可以简写为:$(function(){});3.$(selector) 用来获得页面指定夜店,其参数selector是css的选择器4.$() 方法返回jquery对象的数组。5.val()获取几点v

2012-07-11 21:56:11 610

转载 .NET 程序中的异常处理

publicstaticvoidMain(string[] args) {     // Add the event handler for handling UI thread exceptions to the event.     Application.ThreadException+=new          ThreadExceptionEventHandler

2012-04-23 21:38:26 417

原创 如何处理Form 上的键盘事件,ProcessCmdKey肯定起作用!!

protected override bool ProcessCmdKey(ref Message msg, Keys keyData)        {            if (keyData == Keys.Enter)            {                if (m_level == RewardLevel.Four)

2012-03-22 23:48:00 1662

原创 .NET4.0环境下要使用.NET2.0及.NET3.5的程序

useLegacyV2RuntimeActivationPolicy="true">  =============================================================== startup配置节中的useLegacyV2RuntimeActivationPolicy属性是在.NET4.0中新增的,默认是false,表示:

2012-03-22 23:46:07 3971

原创 2012 SunGard China HE 裁员大事记 ---持续跟新中

2012 SunGard China HE 裁员大事记2012/2/28 周二   早上 9点 发现部门所有服务器 “失踪”,无法使用公司域,SVN 被禁止访问,包括Helios 在内的内外资源无法访问,打印机“失灵”,询问公司IT 部门,三缄其口 2012/2/28 周二 下午 13:01 分 员工收到China HR发的邮件,通知部门 被出售。从百度查到收购方为一家经营酒店,KTV

2012-03-04 10:51:53 8104 2

转载 Difference between SCOPE_IDENTITY(), @@IDENTITY, and IDENT_CURRENT

原文:http://www.go4coding.com/post/2011/06/16/Difference-between-Scope_Identity()Identity-and-Ident_Current.aspx  In this post, we will discus

2011-07-25 22:54:57 553

转载 Hosting or deploying existing ASP.Net Web Application on Linux

原文:点击打开链接 The very line written above brings anxiety & confusion on our faces. When we again try to give it a deep thought, we find ourselve

2011-07-25 22:02:16 519

转载 JSON and Java script Object literal

There's no such thing as a "JSON Object"By "Cowboy" Ben Alman on March 3, 2010 2:54 PM | 13 Comments and 44 ReactionsI want to clear up a co

2011-07-24 12:56:21 774

原创 USE lambda expression

lambda expression

2011-02-25 10:48:00 629

原创 C# Delegate ,Anonymous methods,lambda expression

C# Delegate ,Anonymous methods,lambda expression

2011-02-23 16:05:00 611

原创 ref & out 关键字的区别

            //1) out parameters return compiler error if they are not assigned a value in the method. Not such with ref parameters.            //2) out parameters need not be initialized before pass

2010-03-01 17:08:00 449

原创 SQL 2005 xml 处理的一些sample

 USE Test--Create 2 tables as an exampleCREATE TABLE ExampleTable([ID] int PRIMARY KEY,[Name] nvarchar(256))CREATE TABLE ExampleTable2([ID] int PRIMARY KEY,[Name] nvarchar(256)

2010-02-25 20:29:00 488

原创 一些工具函数-- 压缩与解压

public class FolderZipper { public static void ZipFiles(string inputFolderPath, string outputPathAndFile, string password) { ArrayList ar = GenerateFileList(inputFolder

2010-02-10 10:27:00 460

原创 一些工具函数--WordDocHelper

public class WordDocHelper : IDisposable { private Microsoft.Office.Interop.Word.Application app; private Microsoft.Office.Interop.Word.Document doc; public Wor

2010-02-10 10:19:00 844

原创 一些工具函数--JSONHelper

public sealed class JSONHelper { public static string Serialize(T obj) { DataContractJsonSerializer serializer = new System.Runtime.Serialization.Json.DataContrac

2010-02-10 10:14:00 521

linux安装手册

linux安装手册linux安装手册 E:\EBook\Linux 教程

2011-12-17

Blog Engine help doc

Blog Engine help doc

2009-08-03

ms PROJECT JIAN JIE

PMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMPPMP

2008-11-23

Japanese Japanese

Japanese Japanese Japanese Japanese Japanese

2008-10-27

DialogSamples

Dialog Samples

2007-05-14

Atlas Webconfig file

Atlas Webconfig file

2007-05-12

空空如也

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

TA关注的人

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