将数据从 wpf datagrid 复制到 Lotus Notes
我正在从 sql server 中提取一些详细信息并在数据网格中显示。
我想将数据网格的数据导出到 Lotus Notes。
1.检查Lotus Notes是否已经启动。如果没有,启动Lotus Notes
2.通过以新备忘录打开的方式将数据网格数据粘贴到笔记中。
怎么做呢?
I am pulling some details from sql server and displaying in data-grid.
I would like to export the data-grid's data to lotus notes.
1.Check the lotus notes is already launched or not.If No,Launch the lotus notes
2.Paste the data-grid data to notes by opening as a new memo.
How to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为了给您省去很多麻烦,您的答案基本上是“否”。
您只能启动 Lotus Notes,但通过 C# 提供的当前 Lotus Notes API 无法插入数据网格(我认为是表)。主要是因为您将无法访问 UI 中的备忘录表单。如果没有更多的要求,乍一看,这有点混乱。听起来用户已经要求数据“显示”在电子邮件中,以便他们可以直接在 Lotus Notes 中完成起草。
根据您到目前为止所建议的,您最好使用 C# 创建带有数据的标准电子邮件消息,然后通过电子邮件将其发送给用户。祝你好运..
To save you alot of trouble, your answer is basically "No".
You will only get as far as launching Lotus Notes, but inserting a data grid, as a table I presume, is not possible through the current Lotus Notes API's available from C#. Primarily because you will not be able to access the Memo form in the UI. Without more requirements, and on first appearances, this is a bit messy. It sounds like the user has asked for the data to "appear" in an email that they can complete drafting directly in Lotus Notes.
Based on what you have advised so far, you would be better off in C# creating a standard email message with the data, and just email it to the user. Good luck..
中间的应用是一个什么样的应用呢?左边是SQL-Server,右边是Lotus。其中之一涉及逻辑,或者中间有一些东西。
您提到备忘录,这是否意味着您将发送电子邮件。如果是这样,这封电子邮件是否应该以表格形式包含信息?
What kind of application is the application in the middle? On the left there is SQL-Server, on the right there is Lotus. Either one of those deals with the logic or there is something in the middle.
You mention a memo, does this mean you will be sending an email. And if so, should this email contain the information as a table?