//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:contex..
分类:
移动开发 时间:
2015-01-14 18:17:07
阅读次数:
234
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:contex..
分类:
移动开发 时间:
2015-01-14 18:12:58
阅读次数:
242
ListView的数据需要适配器来完成,常用的ArrayAdapter。通过泛型指定要适配的数据类型,在构造函数中把要适配的数据传入。常见的构造函数是:publicArrayAdapter(Contextcontext,inttextViewResourceId,Listobjects)contex...
分类:
其他好文 时间:
2014-12-26 18:00:15
阅读次数:
176
public class ParamButton extends Button
{
// com.ts.factoryset.ParamButton
private int mParam;
public ParamButton(Context context)
{
super(context);
}
public ParamButton(Context contex...
分类:
移动开发 时间:
2014-12-23 19:30:00
阅读次数:
166
springmvc是在spring的基础上进行架构的。spring要做的事情从大的方面来说很简单,就是将xml中bean定义转化为容器中的BeanDefinition,然后进行实例化,提供给用户使用。
我们的web程序的Spring容器为:org.springframework.web.context.support.XmlWebApplicationContext,它配置在Contex...
分类:
编程语言 时间:
2014-12-19 12:09:59
阅读次数:
253
插件下载地址:http://www.trendskitchens.co.nz/jquery/contextmenu/jquery.contextmenu.r2.js压缩版:http://www.trendskitchens.co.nz/jquery/contextmenu/jquery.contex...
分类:
Web程序 时间:
2014-12-18 18:26:27
阅读次数:
244
HTML代码
将表单中有name属性的表单的值提交到 bigtr.aspx页面
后台代码
服务器端
string getUserNmae=context.Request["UserName"]; //获取用户提交过来的name属性为UserName表单的值
contex.Response.Write(getUserNmae);//将获取到的name属性为U...
分类:
其他好文 时间:
2014-11-13 22:36:14
阅读次数:
207
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
CGContextRef contex...
分类:
移动开发 时间:
2014-11-13 09:24:05
阅读次数:
350
xmlns:context="http://www.springframework.org/schema/context"http://www.springframework.org/schema/contexthttp://www.springframework.org/schema/contex...
分类:
Web程序 时间:
2014-11-07 16:48:12
阅读次数:
183
一、JavaScriptResult在MVC中的定义的代码片段C# 代码 复制 public class JavaScriptResult : ActionResult { public override void ExecuteResult(ControllerContext contex...
分类:
编程语言 时间:
2014-11-03 17:42:01
阅读次数:
267