09 2016 档案

摘要:三大类: 1 流式布局:块元素(占一行)和行元素。 2 浮动布局:float 3 绝对定位:position 阅读全文

posted @ 2016-09-22 14:47 邹敏向日葵 阅读(99) 评论(0) 推荐(0)

摘要:导航条(简单易用的导航) 布局小demo(无表格的首页) 阅读全文

posted @ 2016-09-22 14:41 邹敏向日葵 阅读(204) 评论(0) 推荐(0)

摘要:using System; using System.Configuration; using System.Reflection; namespace ceshi { public class Class1 { public static readonly string Token; public static readonly string... 阅读全文

posted @ 2016-09-19 17:05 邹敏向日葵 阅读(137) 评论(0) 推荐(0)

摘要:1 封装 把"属性"(property)和"方法"(method),封装成一个对象,甚至要从原型对象生成一个实例对象 1.1 简单封装:var cat1 = {}; // 创建一个空对象 cat1.name = "大毛"; // 按照原型对象的属性赋值 cat1.color = "黄色"; 1.2  阅读全文

posted @ 2016-09-17 01:32 邹敏向日葵 阅读(186) 评论(0) 推荐(0)

摘要:1 Object 返回数据库查询后的单个值 public object LoadBusinessScopeById(int id) { string sql = "select [name] from BusinessScope where ID=" + id; return MainCommon. 阅读全文

posted @ 2016-09-12 15:14 邹敏向日葵 阅读(150) 评论(0) 推荐(0)

导航