上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: --将表数据生成SQL脚本的存储过程CREATE PROCEDURE dbo.UspOutputData @tablename sysname AS declare @column varchar(1000) declare @columndata varchar(1000) declare @sq... 阅读全文
posted @ 2015-06-17 10:29 haiziguo 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1.新建webapi项目 2.配置WebApiConfig public const string DEFAULT_ROUTE_NAME = "MyDefaultRoute"; public static void Register(HttpConfiguration config) { config.Routes.MapHttpR... 阅读全文
posted @ 2015-04-10 23:57 haiziguo 阅读(10835) 评论(0) 推荐(2) 编辑
摘要: public class DALHelper { public static List Search() where T : SH_SetBase { using (var db = new ShopContext()) ... 阅读全文
posted @ 2014-12-12 17:41 haiziguo 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 先给出1:0关系 User表包括用户名和密码 public class User { public int ID { get; set; } public string UserName { get; set; } public string Passwd { get; set; } public virtual Us... 阅读全文
posted @ 2014-12-05 14:13 haiziguo 阅读(2475) 评论(0) 推荐(0) 编辑
摘要: public class User { public int ID { get; set; } public string UserName { get; set; } public string Passwd { get; set; } public virtual UserInfo UserInfo... 阅读全文
posted @ 2014-12-04 17:39 haiziguo 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 添加css 在body头文件中加上class=ng-cloak 阅读全文
posted @ 2014-11-21 13:56 haiziguo 阅读(438) 评论(0) 推荐(0) 编辑
摘要: public class BisController : Controller { // // GET: /Bis/ protected string GetJson(object obj) { IsoDat... 阅读全文
posted @ 2014-11-17 11:09 haiziguo 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 第一章. 初识Angular——Angular是MVW的Js框架。 第二章. 数据绑定——ViewModel中不仅可以含有变量,还可以还有事件。可以通过事件来控制变量的值改变。视图绑定着VM中的变量和事件。 第三章. 模块——可以使用angular.module()来声明模块。 如angular.module(‘myApp’,[])相当于Setter... 阅读全文
posted @ 2014-10-11 18:03 haiziguo 阅读(12777) 评论(1) 推荐(2) 编辑
摘要: 1经常有些类型只用一次,不想添加新类,可以使用Tuple。例子:List> list = new List>(); list.Add(new Tuple("Account", "添加用户")); list.Add(new Tuple("Manager", "... 阅读全文
posted @ 2014-09-12 13:28 haiziguo 阅读(12003) 评论(0) 推荐(2) 编辑
摘要: 指令directive('bsPopup', function ($parse) { return { require: 'ngModel', restrict: 'A', link: function (scope, ... 阅读全文
posted @ 2014-08-08 15:44 haiziguo 阅读(21830) 评论(1) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页