上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页
  2012年3月13日
摘要: 语法REPLACE INTO tablename (字段) value(值)如果存是就删除在插入,否则插入 阅读全文
posted @ 2012-03-13 23:56 freexiaoyu 阅读(894) 评论(0) 推荐(0) 编辑
  2012年3月12日
摘要: 在XML中设置android:drawableRight="@drawable/input_error"在代码中设置txtName.setCompoundDrawablesWithIntrinsicBounds(null, null, getResources().getDrawable(R.drawable.indicator_input_error), null);原来一直以为是txtName.setCompoundDrawables(null,null,getResources().getDrawable(drawable.indicator_input_error) 阅读全文
posted @ 2012-03-12 14:57 freexiaoyu 阅读(2718) 评论(1) 推荐(0) 编辑
  2012年3月11日
摘要: simpleAdapter=new SimpleAdapter(context, mData, R.layout.goods_info, new String[]{"name","small_pic","price"}, new int[]{R.id.goods_name,R.id.goodsimg,R.id.goods_price}){ @Override public void setViewImage(final Im... 阅读全文
posted @ 2012-03-11 21:25 freexiaoyu 阅读(5192) 评论(8) 推荐(0) 编辑
  2012年2月22日
摘要: 从SVN得到新版本后提示conversion to dalvik format failed with error 1在eclipse开发Android项目时出现的很多问题都可以使用Project-->clean就OK了 阅读全文
posted @ 2012-02-22 11:44 freexiaoyu 阅读(251) 评论(0) 推荐(0) 编辑
  2012年2月8日
摘要: 意思是空间不够用 操作方法如下:选择你的应用,右键选择【run as】--【run configurations】--【target】--【Additional Emulator Command Line Options】(见下图),填写“-partition-size 256”原文地址:http://kb.cnblogs.com/a/2287500/ 阅读全文
posted @ 2012-02-08 19:34 freexiaoyu 阅读(1974) 评论(0) 推荐(0) 编辑
  2012年2月6日
摘要: public SoapPrimitive detail; // 命名空间 private static final String NAMESPACE = "http://tempuri.org/"; //webservice地址 private static String WebServiceURL = "http://www.xxx.com/Services/xxx.asmx"; //此处是命名空间+方法名 private static String SOAP_ACTION = "http://tempuri.org/GetComapnyXM 阅读全文
posted @ 2012-02-06 16:36 freexiaoyu 阅读(1161) 评论(0) 推荐(0) 编辑
  2012年2月5日
摘要: 引用PanGuDLLprivate string GetWords(string input) { ICollection<PanGu.WordInfo> words = new Segment().DoSegment(input); StringBuilder result = new StringBuilder(); List<string> list = new List<string>(); foreach (WordInfo word in words) { if (word != null && word.Word.Length 阅读全文
posted @ 2012-02-05 23:24 freexiaoyu 阅读(555) 评论(0) 推荐(0) 编辑
  2012年1月6日
摘要: 在网上找了半天有人说是加上cmd.CommandTimeout=500还是不启作用,每次执行完后SQL内存占用量一直上升,找了半天发现我的代码中首先是用DataReader循环读取数据插入到另一个库然后在修改当前数据问题就出这样,上面插入其它库执行正常当代码执行到 修改这条语句的时候就不动最后提示超时,个人分析可能是当前数据已被占用无法修改最后导致修改数据超时的主要原因吧,最后我把DataReader改成foreach问题解决了。 阅读全文
posted @ 2012-01-06 16:41 freexiaoyu 阅读(534) 评论(0) 推荐(0) 编辑
  2011年12月29日
摘要: 在mac os x 10.6.8 安装 xcode4.0.1 提示 in order to continue installation,please close the following application;操作方法:应用程序-实用工具-活动监视器 找到iTunesHelper进程杀掉 阅读全文
posted @ 2011-12-29 17:02 freexiaoyu 阅读(709) 评论(0) 推荐(0) 编辑
  2011年12月27日
摘要: 提示找不到 C:\Program Files\VMware\dndlogs\dndlog.conf打到相应目录新创建一个记事本文件把文件名改为 dndlog.conf 就可以了。 阅读全文
posted @ 2011-12-27 22:36 freexiaoyu 阅读(741) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页