05 2011 档案

摘要:表现:Me.pbStop.Image = CType(resources.GetObject("pbStop.Image"), System.Drawing.Image)语句出现异常:NotSupportedException: System.Drawing.Bitmap解决:1) DELETE the whole directory of your program files (DLL, EXE, INI and so on) from your mobile device and redeploy again. OR(删除发布文件夹下所有文件,并重新发布)2) Hard 阅读全文
posted @ 2011-05-25 17:13 qb371 阅读(394) 评论(0) 推荐(0)
摘要:使用在本地生成xml文件的方法,生成缓存,减少与数据库的交互,提高性能。XmlSerializer可以进行序列化和反序列化public static CaseTypeEntity[] GetCaseTypeEntityCollection() { if (_IsReLoad || (_CaseTypeEntity == null)) { if (File.Exists(MC_CaseTypeEntity_File)) { FileStream stream = new FileStream(MC_CaseTypeEntity_File, FileMode.Open); XmlSerialize 阅读全文
posted @ 2011-05-23 18:31 qb371 阅读(202) 评论(0) 推荐(0)
摘要:select id,name,code,sort_id into szum_casetype from szum_casetype_sz 其中szum_casetype_sz为与源表,szum_casetype为目标表,目标表不需要事先创建 阅读全文
posted @ 2011-05-18 09:59 qb371 阅读(149) 评论(0) 推荐(0)
摘要:近两天发现一个问题,全新系统安装vs2010旗舰版,出现安装错误。提示安装“Windows 图像处理组件”,于是乎,我安装了wic_x86_chs.exe文件,再次安装vs2010安装问题得到解决。但是安装完毕后打开项目文件又出现错误了,提示:"写入项目文件时出错。没有注册类别","无法读取项目文件",我试着重新创建项目也没用。后来网上找到了方法。去下载msxml6.msi文件安装,然后问题得到解决。同样是vs2008为什么不出现这个问题了,因为2008在安装时,会安装msxml6.msi文件,同是在sp2中会有升级。笔者是先安装2008然后安装的201 阅读全文
posted @ 2011-05-03 11:16 qb371 阅读(200) 评论(0) 推荐(0)