上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 37 下一页
该文被密码保护。 阅读全文
posted @ 2016-03-29 13:57 好好學習 阅读(0) 评论(0) 推荐(0)
摘要: 首先針對aspx頁面 <form id= "uploadForm"> <p >指定文件名: <input type="text" name="filename" value= ""/></p > <p >上传文件: <input type="file" name="file"/> 阅读全文
posted @ 2016-03-28 16:01 好好學習 阅读(58) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-03-24 12:54 好好學習 阅读(0) 评论(0) 推荐(0)
摘要: 下面就某些SQL语句的where子句编写中需要注意的问题作详细介绍。在这些where子句中,即使某些列存在索引,但是由于编写了劣质的SQL,系统在运行该SQL语句时也不能使用该索引,而同样使用全表扫描,这就造成了响应速度的极大降低。 1. IS NULL 与 IS NOT NULL 不能用null作 阅读全文
posted @ 2016-03-17 12:39 好好學習 阅读(172) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-03-17 11:55 好好學習 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-03-16 15:57 好好學習 阅读(29) 评论(0) 推荐(0)
摘要: 设计模式是软件开发讨论中,亘古不变的话题,今天又拿出来说道两句,也是对设计模式的一个复习吧。 工厂方法模式 工厂方法模型定义了一个用于创建对象的接口,让子类决定实例化哪一个类,工厂模式使一个类的实例化延迟到了其子类中。工厂方法模式是优化的简单工厂模式,它很好的支持了“开闭原则”。每一个具体的工厂只能 阅读全文
posted @ 2016-03-11 12:09 好好學習 阅读(347) 评论(0) 推荐(0)
摘要: 抽象工廠用例圖 代碼 class Program { static void Main(string[] args) { User user = new User(); Department dept = new Department(); IUser iu = DataAccess.CreateU 阅读全文
posted @ 2016-03-11 11:51 好好學習 阅读(168) 评论(0) 推荐(0)
摘要: 觀察者用例圖 代碼 class Program { static void Main(string[] args) { ConcreteSubject s = new ConcreteSubject(); s.Attach(new ConcreteObserver(s, "X")); s.Attac 阅读全文
posted @ 2016-03-11 11:50 好好學習 阅读(154) 评论(0) 推荐(0)
摘要: 建造者模式用例圖 代碼 class Program { static void Main(string[] args) { Director director = new Director(); Builder b1 = new ConcreteBuilder1(); Builder b2 = ne 阅读全文
posted @ 2016-03-11 11:48 好好學習 阅读(188) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 37 下一页