摘要: public class CExcel { private Application m_App = null; private Worksheet m_current_sheet = null; private Workbook m_work_book = null; public Range Border(int top, int left, int bottom, int right) { try { if (this.m_current_... 阅读全文
posted @ 2013-07-22 12:35 StormeR 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 在做水晶报表时用到二维码,而生成的二维码是图片 ,打印时只能先进行转换#region 图像与byte[]转换 #region 将实际位置中的照片转化为byte[]类型 /// /// 将实际位置中的照片转化为byte[]类型写入数据库中 /// /// string图片地址 /// byte[] public static byte[] GetBytesByImagePath(string strFile) { byte[] photo_byte = null; using (FileStream fs = new FileStream(strFile, FileMode.Open, Fi.. 阅读全文
posted @ 2013-07-20 07:58 StormeR 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: 不知道不觉做码农也有些日子了,在这过程中会碰到各种各样的问题,这时候就不得不调动所有能用的细胞去寻找答案,找到了还得看人家说的我明不明白,是不是一目了然,自从我跟博客园结缘后它便成了一直陪伴我的老师,感谢博友无私的付出。 一直想写一些在这过程中遇到的“坎”,然后发现博友们写的比我想的好多了,所以一直没敢下手,怕是班门弄斧,只好继续努力争取能写一些能帮到大家的帖子!!谢谢你们!! 阅读全文
posted @ 2013-03-15 17:10 StormeR 阅读(129) 评论(1) 推荐(1) 编辑