摘要: using System.IO; /// <summary> /// Get the save file full name /// </summary> /// <remarks> /// If the file exist, then delete the file. /// </remarks> /// <param name="fileName">save file full name, If null then open dialog to select and input save ... 阅读全文
posted @ 2013-02-01 16:35 风扬剪影 阅读(688) 评论(0) 推荐(1) 编辑
摘要: /// <summary> /// 将图片插入到指定的单元格位置,并设置图片的宽度和高度。/// 注意:图片必须是绝对物理路径 /// </summary>/// <param name="objSheet">工作表对象</param>/// <param name="range">单元格名称,例如:B4</param> /// <param name="picturePath">要插入图片的绝对路径。</param> /// <pa 阅读全文
posted @ 2013-02-01 16:13 风扬剪影 阅读(822) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 把数据库二进制图片转存到硬盘中 /// Save the picture at hard disk by binary data /// </summary> /// <param name="byt">Binary data for picture</param> /// <param name="fileName">File name of picture include full path</param>public static void 阅读全文
posted @ 2013-02-01 14:36 风扬剪影 阅读(381) 评论(0) 推荐(0) 编辑