原创 新增一個視圖(View)(ASP.NET MVC3系列文章三)

 原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part3-cs 這個教程將會使用Micro

原创 將name的值快速複製到comment中

Tools->Excute Commands->Edit/Run Scripts       Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl

原创 給模型(Model)添加驗證(ASP.NET MVC3系列文章八)

  原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part8-cs   這個教程將會使用Mi

原创 新增一個控制器(Controller)(ASP.NET MVC3系列文章二)

 原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part2-cs       這個教程將

原创 遠程方法回調(.Net Remoting學習四)

  1.應用程序域(.Net Remoting學習一) 2.基本操作(.Net Remoting學習二) 3.分離服務程序實現(.Net Remoting學習三) 4.遠程方法回調(.Net Remoting學習四)         Re

原创 分離服務程序實現(.Net Remoting學習三)

1.應用程序域(.Net Remoting學習一) 2.基本操作(.Net Remoting學習二) 3.分離服務程序實現(.Net Remoting學習三) 4.遠程方法回調(.Net Remoting學習四)       分離服務程

原创 ASP.NET MVC3介紹(ASP.NET MVC3系列文章一)

這是第一次翻譯國外的教程,希望能給想要學習ASP.NET MVC的初學者一些幫助,由於英語有限,有錯誤的地方,還請諒解。  原址:http://www.asp.net/mvc/tutorials/getting-started-with

原创 新增一個模型(Model)(ASP.NET MVC3系列文章四)

   原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part4-cs 這個教程將會使用Mi

原创 Newtonsoft 獲取動態key的json數據

在反序列化一些json數據的過程中,有些數據根本沒有辦法反序列化,因爲json數據的key值是動態的,另外還有一些key值是數字的,也沒有辦法反序列化到c# 類。   反序列化是沒希望,但總可以讀出來吧,寒, 要不然就要換掉Newtons

原创 SQL SERVER做除法四捨五入

 SELECT CAST(24/38.0000 AS NUMERIC(18,4))  

原创 ASP.NET中實現僞靜態路由

一。首先在想要實現僞靜態的網站中引用URLRewriter.dll 二。在web.config中加上如下配置信息: <configSections> <section name="RewriterConfig" type="U

原创 給電影的模型(Model)和表格增加新的字段(ASP.NET MVC3系列文章七)

  原址:http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part7-cs   這個教程將會使用Mi

原创 TextBox各項禁止操作

onpaste="return false" 禁用粘貼 oncopy="return false" 禁用複製 oncut="return false" 禁用剪切 context="noContext" 禁用右鍵菜單