- 博客(11)
- 收藏
- 关注
转载 Android运行程序后关闭Dialog
async void myButtonClicked (object sender, EventArgs e){ myProgressBar.Visibility = ViewStates.Visible; await myMethod(); myProgressBar.Visibility = ViewStates.Gone;}...
2018-08-15 14:23:00
262
转载 prevent dialog from closing
To prevent dialog box from getting dismissed on back key pressed use thisdialog.setCancelable(false);And to prevent dialog box from getting dismissed on outside touch use thisdialog.s...
2018-08-15 10:13:00
94
转载 easyui datagrid添加行时设置焦点
onBeginEdit:function(index ,data){ var ed = $(this).datagrid('getEditor', { index: index, field: 'Number' }); $(ed.target).next().children().focus(); ...
2018-04-23 19:44:00
406
转载 Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013
Open the Command Prompt (not as administrator)Navigate to the folder where IIS Express is installed on your machine.In the command line spin up a IISExpress site with the following prompt: ...
2014-11-24 12:32:00
84
转载 jdbc连接sqlserver报错java.lang.ClassNotFoundException
2008的版本驱动和2000的有点不同,之前的都是com.microsoft.jdbc.sqlserver.SQLServerDriver可是2008 去是com.microsoft.sqlserver.jdbc.SQLServerDriver转载于:https://www.cnblogs.com/shawnwxm/p/3636820.html...
2014-03-31 20:41:00
171
转载 启动另外的一个应用程序的Activity(三种方式)
第一种:之前在网上看来一些,很多不是我要的可以启动另外一个应用程序的主Activity.//这些代码是启动另外的一个应用程序的主Activity,当然也可以启动任意一个Activity ComponentName componetName = new ComponentName( //这个是另外一个应用程序的...
2014-03-20 15:00:00
97
转载 Android下得到APK包含信息
0. 基础知识:可以通过android.content.Context的方法getPackageManager()得到一个PackageManager实例。PackageManager有一个方法:PackageInfogetPackageArchiveInfo(String archiveFilePath, int flags);其中参数一:archiveFilePath。就是指一...
2014-03-20 11:38:00
146
转载 java.lang.NoClassDefFoundError: org/jaxen/JaxenException
使用dom4j解析XML时,要快速获取某个节点的数据,使用XPath是个不错的方法,dom4j的快速手册里也建议使用这种方式,标题都写的这么阔气:Powerful Navigation with XPath。方法是使用Document的selectNodes(String XPath)方法,代码写法:List l = doc.selectNodes("//COLS/COL1"...
2014-03-01 16:06:00
87
转载 MyEclipse修改页面模板(JSP和HTML等)
MyEclipse:修改MyEclipse开发工具中的页面模板(JSP和HTML等)1.用MyEclipse工具开发Web项目,有一个很普遍的问题,就是在新建一个页面文件时,需要修改pageEncoding值,页面中默认的pageEncoding值一般是ISO-8859-1。2.如果Web项目需要支持中文,那就必须把那个ISO-8859-1给改掉,换成以下几种:UTF-8、GB2...
2014-02-27 12:17:00
162
转载 Cannot return from outside a function or method
最近发现myeclipse10中有几处bug 比如: Cannot return from outside a function or methodonClick="return check();"出现错误等等 本人略总结了一点小方法,供参考: 方法一:window -->preferences -->...
2014-02-26 14:52:00
57
转载 TOMCAT 7配置问题 403 Access Denied
tomcat-users.xml配置文件中找到<tomcat-users><!-- NOTE: By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. If you wish to us...
2014-02-06 23:17:00
98
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人