08 2013 档案

摘要:/** * 判断系统的网络是否可用 * @return */ private bool isNetworkConnected() { bool net = false; ConnectivityManager connManager = (ConnectivityManager)this.GetSystemService(ConnectivityService); // connManager.ActiveNetworkInfo ==null 手机无法连接网络 if (connManager.ActiveNetworkInfo != null) { //获得 wifi 连接管理 Networ. 阅读全文
posted @ 2013-08-31 10:12 虫虫飞520 阅读(745) 评论(0) 推荐(0)
摘要:The package does not support the device architecture (x86). You can change the supported architectures in the Android Build section of the Project Options.包不支持设备架构(x86)。你可以改变支持架构在Android构建部分的项目选项。解决方法: 属性里面勾上X86 阅读全文
posted @ 2013-08-23 10:26 虫虫飞520 阅读(1229) 评论(1) 推荐(1)
摘要:List imgList = (from a in ZQSDWEBEntities.Attachment join m in (from t in ZQSDWEBEntities.MessageDetail where (id).Contains(t.ParentID) orderby t.MessageDate descending, t.MessageStart descending select t) on a.MessageId equals m.MessageId select a ).ToList();中间这部分没生效 改成这样就可以了 //最新10条数据(按MessageSt.. 阅读全文
posted @ 2013-08-03 16:14 虫虫飞520 阅读(434) 评论(0) 推荐(0)
摘要:@{ if (item.Attachment.Count > 0) { } else { } } 阅读全文
posted @ 2013-08-01 09:42 虫虫飞520 阅读(2284) 评论(0) 推荐(0)