摘要: 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ... 阅读全文
posted @ 2014-04-29 05:36 zqcoder 阅读(357) 评论(0) 推荐(0) 编辑
摘要: I had been waiting for the latest MySQL connector for .NET to come out so I can move on to the new and sleek Visual Studio 2012 for my projects. Found... 阅读全文
posted @ 2014-04-29 04:51 zqcoder 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 来源:http://msdn.microsoft.com/zh-cn/data/jj193542本视频和分步演练介绍通过 Code First 开发建立新数据库。这个方案包括建立不存在的数据库(Code First 创建)或者空数据库(Code First 向它添加新表)。借助 Code First... 阅读全文
posted @ 2014-04-17 00:10 zqcoder 阅读(1435) 评论(0) 推荐(0) 编辑
摘要: 2014-02-21var p=function(){}(); //表示定义一个变量P,变量后面的函数为返回值var p = function(){return 'abc';}();alert(typeof p); //string 阅读全文
posted @ 2014-02-21 23:07 zqcoder 阅读(108) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { string s = "zzq2"; string temp = string.Empty; Ma... 阅读全文
posted @ 2014-02-15 00:53 zqcoder 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 最近一直在看DDD开发 规约似乎用得很普遍。 但是还是理解不了。所以记录下学习的进度。~规约(Specification)模式目的:查询语句和查询条件的分离写了一个关于规约的模拟小程序 class Program { static void Main(string[] args)... 阅读全文
posted @ 2014-02-11 23:39 zqcoder 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 如何將ViewData裡包含的Html輸出(MVC)默認輸入ViewData裡的Htm系統會自動把標籤轉換而達不到預覽的效果, 我們如果要呈現解析後的HTML則要調用@MvcHtmlString.Create(ViewData["Content"].ToString()) 阅读全文
posted @ 2014-02-10 14:08 zqcoder 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ServiceL... 阅读全文
posted @ 2014-02-09 19:53 zqcoder 阅读(1252) 评论(0) 推荐(0) 编辑
摘要: DataTable dt = new DataTable(); dt.Columns.Add("UserName", typeof(string)); dt.Columns.Add("Age", typeof(int)); dt.R... 阅读全文
posted @ 2014-02-06 20:02 zqcoder 阅读(638) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tasks;namespace Conso... 阅读全文
posted @ 2014-02-01 19:09 zqcoder 阅读(505) 评论(0) 推荐(0) 编辑