摘要: 前端:姓名:年龄:姓名:年龄: 后台:[HttpPost]public ActionResult Add(List li){return View(li);} 阅读全文
posted @ 2015-03-02 12:21 吕小龙 阅读(138) 评论(0) 推荐(0) 编辑
摘要: stringCONN_STRING=ConfigurationManager.ConnectionStrings["connString"].ConnectionString; 阅读全文
posted @ 2013-05-15 15:24 吕小龙 阅读(146) 评论(0) 推荐(0) 编辑
摘要: //发送内容,移动号码等到MAS机: public void sendMAS(string content, string mobilePhones) { try { url = PageBase.URL; string response = ""; Encoding enc = System.Text.Encoding.GetEncoding("gb2312"); MsgContent = HttpUtility.UrlEncode(content, enc); string inputurl = url + "?MobilePhones=& 阅读全文
posted @ 2013-05-10 10:44 吕小龙 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 需求分析、概要设计、详细设计、编码、测试、部署和实施 阅读全文
posted @ 2013-02-22 20:30 吕小龙 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 解1:select top 10 * from A where id not in (select top 30 id from A)解2:select top 10 * from A where id > (select max(id) from (select top 30 id from A )as A)解3:select * from (select *, Row_Number() OVER (ORDER BY id asc) rowid FROM A) as A where rowid between 31 and 40 阅读全文
posted @ 2013-02-20 11:05 吕小龙 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 对于某些页面内很少发生改变的可以通过页面缓存提升访问速度;对于较少发生变动的业务数据可以通过数据缓存和缓存依赖项保证访问速度和更新;从数据库层面进行优化:优化查询语句、合理建立表索引、数据表的水平和垂直拆分;可以通过服务器群集来对访问量分流相应; 阅读全文
posted @ 2013-02-20 11:03 吕小龙 阅读(175) 评论(0) 推荐(0) 编辑