自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wilsonke的专栏

入行十三年,做不尽的代码苦力。

  • 博客(19)
  • 资源 (13)
  • 收藏
  • 关注

转载 mvc linq多表查询 viewModel

最近在开发mvc3的时候发现了一个问题,就是如何在view页面显示多表查询的数据,最简单的办法就是使用viewmodel了,以下本人使用viewmodel来实现多表查询的3中方法,先贴代码再说:1  第一种是将页面显示多表的数据(也就是汇总各个model表的字段),然后再viewmodel中显示1 public class ResultAdList2 {3

2013-09-29 14:42:25 2621

转载 详解ASP.NET MVC pager 分页

ASP.NET MVC框架已经进入2.0时代,本文将从ASP.NET MVC数据分页谈起,希望能对大家有所帮助。在网页上进行表格资料或其他显示资料的分页是一种十分常见的需求,以前我们有 GridView 或 DataPager 可以帮我们自动分页,虽然到了 ASP.NET MVC 一切全部重头来过,但我们也不用真的那麽辛苦的自己实做分页,因为早就有人帮我们写好程式并开放原始码分享给这个世界了。

2013-09-23 09:24:01 1372

转载 xml 二进制数据 传输处理

XML中的数据无论采用CASTOR还是JDOM框架都可以进行对图片、文件的传输和处理。在内存中他们以byte[]来表示和存储。下面以文件的方式进行了说明,特别注意的是对于二进制要采用64编码的方式表示在XML文件中。import org.jdom.Document;import org.jdom.Element;import org.jdom.JDOMException;impor

2013-09-22 10:22:34 2066

转载 Improving the Details and Delete Methods

In this part of the tutorial, you'll make some improvements to the automatically generatedDetails and Delete methods. These changes aren't required, but with just a few small bits of code, you can e

2013-09-19 05:56:04 1321

转载 Adding Validation to the Model

In this section you'll add validation logic to the Movie model, and you'll ensure that the validation rules are enforced any time a user attempts to create or edit a movie using the application.Keep

2013-09-19 05:51:50 1025

转载 Adding a New Field to the Movie Model and Table

In this section you'll make some changes to the model classes and learn how you can update the database schema to match the model changes.Adding a Rating Property to the Movie ModelStart by adding

2013-09-19 05:45:55 1123

转载 Examining the Edit Methods and Edit View

In this section, you'll examine the generated action methods and views for the movie controller. Then you'll add a custom search page.Run the application and browse to the Movies controller by appen

2013-09-19 05:41:07 1232

转载 Accessing your Model's Data from a Controller

In this section, you'll create a new MoviesController class and write code that retrieves the movie data and displays it in the browser using a view template. Be sure to build your application before

2013-09-19 05:37:01 885

转载 Adding a Model

Adding a ModelIn this section you'll add some classes for managing movies in a database. These classes will be the "model" part of the ASP.NET MVC application.You’ll use a .NET Framework data-acce

2013-09-19 05:33:30 815

转载 Adding a View

In this section you're going to modify the HelloWorldController class to use view template files to cleanly encapsulate the process of generating HTML responses to a client.You'll create a view temp

2013-09-19 05:32:09 1183

转载 Adding a Controller (C#)

MVC stands for model-view-controller. MVC is a pattern for developing applications that are well architected and easy to maintain. MVC-based applications contain:Controllers: Classes that handle i

2013-09-19 05:31:03 802

转载 Intro to ASP.NET MVC 3 (C#)

TweetThis tutorial will teach you the basics of building an ASP.NET MVC Web application using Microsoft Visual Web Developer 2010 Express Service Pack 1, which is a free version of Microsoft Visua

2013-09-19 05:28:52 986

转载 Html.RenderPartial与Html.RenderAction 用法

mvc renderaction   renderpartial  杂谈     Html.RenderPartial与Html.RenderAction这两个方法都是用来在界面上嵌入用户控件的。     Html.RenderPartial是直接将用户控件嵌入到界面上:    或    注意:用第一种方法时,用户控件必须放在调用者同一目录下,也可以

2013-09-14 02:21:04 9550

转载 10款免费且开源的项目管理工具

在任何一个项目开发或设计中,项目管理被认为最重要的过程之一,因此,选择一款适宜的项目管理工具尤为重要。项目管理是指管理项目计划、定义、监控、控制以及确认交付的过程,因此它的优势也是被公认的。随着各个领域特定项目管理需求的提升,这就需要一个更好的、免费的项目管理工具来管理。因此一款高效的、良好的项目管理必须具备快速的、强大的且包含以下功能:调度、成本控制、资源分配、预算管理、文档、协作以及沟通。

2013-09-14 00:08:20 1200

原创 C# 先数字后字符的排序方法

C# 先数字后字符的排序方法  发现前一篇文章在sql中的排序还是有太多不尽人意的地方,因而花了一些时间到看了一些外文网站,找到了以下的方法。 public class AlphanumComparatorFastString : IComparer { public int Compare(string s1, string s2) {

2013-09-10 11:36:08 2032 3

原创 先数字后字符的排序 PATINDEX 并且要支持简体 繁体 最好直接在mssql里实现

最近公司有个任务是:先数字后字符的排序,并且要支持简体,繁体最后直接在mssql里实现.研究了将近一天半,终于成功! 通过以下三步可以实现第一步:将database的排序规则修改成 COLLATE Chinese_PRC_CI_AI ALTER database SSC_20130605 COLLATE Chinese_PRC_CI_AI 第二步:写好排序Fu

2013-09-06 15:16:05 1034

转载 原型开发工具 10 tool

http://www.smashingapps.com/2013/07/05/the-ultimate-collection-of-prototype-and-wireframe-tools-for-mobile-and-web-design.htmlBy Akhter on July 5, 2013The Ultimate Collection Of Prototype And

2013-09-05 09:09:07 1735

转载 PagerHelper for ASP.NET MVC3

PagerHelper for ASP.NET MVC3 makes it easier for add pagination to your website.First, implement IPagable in any viewmodel that you have in your project that you want to enhance with Pagination

2013-09-03 09:18:30 697

转载 Asp.Net MVC 路由

在这篇教程中,我将为你介绍每个ASP.NET MVC应用程序都具有的一个重要功能,称作ASP.NET路由(ASP.NET Routing)。ASP.NET路由模块负责将即将到来的浏览器请求映射到特定的MVC控制器动作。学完这篇教程之后,你将会理解标准的路由表是如何将请求映射到控制器动作的。1. 理解默认路由表当你创建一个新的ASP.NET MVC应用程序时,应用程序已经被配置为使用ASP.

2013-09-01 16:08:16 695

java 源码加密 混淆 proguard 配置文件

java 源码加密 混淆,proguard 配置文件,很详细,经测试可以用

2022-01-12

ssm example

spring+mybatis这是一个较简单的解决方案,可以用于学习

2018-03-08

extjs4.1.1

ExtJs所有文档及库文件....

2017-09-29

C# 获取IE firefox 浏览器 url

测试过了,代码能正常工作,非常好用. ShellWindowsClass shellWindows = new ShellWindowsClass(); foreach (InternetExplorer ie in shellWindows) { string filename = System.IO.Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals("iexplore") && ie.HWND == (int)windHandle) { richTextBox1.AppendText("IE-->>"+ ie.LocationURL + "#" + ie.LocationName + "\r\n"); } }

2014-06-25

SIPXECS安装使用手册

SIPXECS安装使用手册,内容详实,对入门级用户来说,是一个好guide

2014-05-25

spring3mvc-jQuery-easyUI做的ajax版本用户管理系统

spring3mvc-jQuery-easyUI做的ajax版本用户管理系统

2014-05-05

spring3+mybatis+jquery easyui

spring3+mybatis+jquery easyui

2014-04-28

基于jquery easyui 的设备管理系统demo

基于jquery+easyUI的设备管理系统demo,界面美观

2014-02-19

JQuery-EasyUI+Asp.net Demo code

本代码结构清析明了,能让初学者很快就掌握如何在Asp.net用EasyUI组件及ashx来实现系统的增,删,改,查

2014-02-07

backgroudworker sample code

backgroudworker sample code

2014-01-14

Wilson.Win32.IO

源代码,解决PathTooLongExcetion的问题,几乎重写了System.IO

2013-12-27

Wix Develpoer Guide

Window Installer XML Develpoer Guide 英文版本,内容丰富,例子简单明了

2012-09-08

rabbitmq server

rabbit mq servier is written by erlang.this package is runnin in linux.

2009-11-20

空空如也

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

TA关注的人

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