需要使用C#在PPT幻灯片中动态添加SQL查询输出 [英] Need to dynamically add the SQL query output in PPT slide using C#
本文介绍了需要使用C#在PPT幻灯片中动态添加SQL查询输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
需要使用c#在PPT幻灯片中动态添加SQL查询输出。需要在PPT中的一个幻灯片中以表格的形式插入输出。表输入将是SQL存储过程的输出。
我尝试过:
现在能够在ppt中添加图像和简单文本。
Need to dynamically add the SQL query output in PPT slide using c#. Need to insert the output in the form of table in one of the slides in PPT. The table input will be the output from SQL stored procedure.
What I have tried:
Now able to add image and simple text in the ppt.
推荐答案
你需要在googleMs office interop for powerpoint slide上搜索,以下链接是ms办公室电源点自动化的示例
Office C#app自动化PowerPoint(CSAutomatePowerPoint)用于Visual Studio 2010的C#示例 [ ^ ]
您需要首先考虑数据库通信,然后在Microsoft.Office.Interop.PowerPoint的帮助下思考如何在电源点上排列数据
我希望你会尝试并获得成功。
You need to search on google "Ms office interop for powerpoint slide" , Following link is the example of ms office power point automation
Office C# app automates PowerPoint (CSAutomatePowerPoint) sample in C# for Visual Studio 2010[^]
You need to think for database communication first, then think how you want to arrange the data on power point with the help of Microsoft.Office.Interop.PowerPoint
I hope you will be try and get success.
这篇关于需要使用C#在PPT幻灯片中动态添加SQL查询输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文