当前位置:编程学习 > C#/ASP.NET >>

C#如何将picturebox里的图片放到excel表的指定的单元格里

C#如何将picturebox里的图片放到excel表的指定的单元格里?????

   excel.SetCellText();这样写不行啊。。。。。。 --------------------编程问答--------------------

//插入图片
                object Range = System.Reflection.Missing.Value;
                appWord.Selection.ParagraphFormat.Alignment = WdParagraphAlignment.wdAlignParagraphRight;
                appWord.Selection.InlineShapes.AddPicture(HostingEnvironment.ApplicationPhysicalPath + @"Images\Logo\"+dt1.Rows[0]["dLogo"]+"", ref oMissing, ref oMissing, ref Range);


--------------------编程问答--------------------

弄错鸟,上面这个是导出word的 --------------------编程问答-------------------- 那怎么弄啊?我的图片在picturebox控件里 --------------------编程问答-------------------- 顶起来 。。。。。  谁会的啊???????
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,