2012年6月4日
摘要: //这里用拼接字符串写到where语句中会报错,最好用?mContext.getContentResolver().update(DatabaseProvider.CONTENT_STOCKS_URI,values,STOCK_CODE+"=?",newString[]{stockCode});写成: mContext.getContentResolver().update(DatabaseProvider.CONTENT_STOCKS_URI,values,STOCK_CODE+"=sh123456", null);会报列sh123456找不到.无语了 阅读全文
posted @ 2012-06-04 13:14 Answer. 阅读(192) 评论(0) 推荐(0)