上一页 1 ··· 35 36 37 38 39
摘要: 1.布局 2.MainActivity.javapackage com.example.logindemo;import java.util.Map;import android.os.Bundle;import and... 阅读全文
posted @ 2014-08-21 22:46 好学Ace 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案一、首先描述症状,如下图二、出现问题了,首先确定你的sdk目录是不是真的在Console输出的那个位置,如果是的话。接下来现在就要看看到底是谁占用了端口。打开命令编辑器... 阅读全文
posted @ 2014-08-21 21:06 好学Ace 阅读(185) 评论(0) 推荐(0) 编辑
摘要: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.la... 阅读全文
posted @ 2014-08-19 22:52 好学Ace 阅读(821) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace WebApplication1.MyHtmlHelper{ publi... 阅读全文
posted @ 2014-08-18 17:17 好学Ace 阅读(177) 评论(0) 推荐(0) 编辑
摘要: @{ ViewBag.Title = "Index";}@{ int pageIndex = (int)ViewBag.CurrentPage; int pageCount = (int)ViewBag.Pages;}Index cateId ... 阅读全文
posted @ 2014-08-18 17:08 好学Ace 阅读(279) 评论(0) 推荐(0) 编辑
摘要: AspNetPager分页控件解决了分页中的很多问题,直接采用该控件进行分页处理,会将繁琐的分页工作变得简单化,效果如下:下面是我如何使用AspNetPager控件进行分页处理的详细代码:1.首先到www.webdiyer.com下载最新的AspNetPager.dll,直接在vs2005中添加引用... 阅读全文
posted @ 2014-08-08 23:46 好学Ace 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1、开始数据结构如下:2、转为如下图:使用如下SQL语句:---横向转丛向select name '姓名', max(case when course='语文' then score end) as '语文', max(case when course='数学' then sco... 阅读全文
posted @ 2014-08-08 11:05 好学Ace 阅读(1582) 评论(0) 推荐(0) 编辑
摘要: js中apply方法的使用1、对象的继承,一般的做法是复制:Object.extendprototype.js的实现方式是:Object.extend = function(destination, source) { for (property in source) { destination[p... 阅读全文
posted @ 2014-08-03 10:01 好学Ace 阅读(211) 评论(0) 推荐(0) 编辑
摘要: call 方法 请参阅 应用于:Function 对象 要求 版本 5.5 调用一个对象的一个方法,以另一个对象替换当前对象。 call([thisObj[,arg1[, arg2[, [,.argN]]]]]) 参数 thisObj 可选项。将被用作当前对象的对象。 arg1... 阅读全文
posted @ 2014-08-03 09:15 好学Ace 阅读(305) 评论(0) 推荐(0) 编辑
摘要: //测试对象集合序列化 public void jsonTest() { List list = new List(); for (int i = 1; i < 5;i++) { moduleEntity entity = new moduleE... 阅读全文
posted @ 2014-08-01 16:25 好学Ace 阅读(650) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39