Inserting Image in Excel from String

I'm generating a CSV file from the following code public ActionResult Index() { var csv = "मानक हिन्दी;some other value"; var data = Encoding.UTF8.GetBytes(csv); data = Encoding.UTF8.GetPreamble().Concat(data).ToArray(); var cd = new ContentDisposition { Inline = false, FileName = "newExcelSheet.csv" }; Response.AddHeader("Content-Disposition", cd.ToString()); return File(data, "text/csv"); } Now I wish to insert Image in the top row of the excel, Please assist me in the following problem Thanks :)

以上就是Inserting Image in Excel from String的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » excel

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准