将DataGridView的内容写入XML以生成PDF. [英] Writting contents of a DataGridView to XML for PDF Generation.

查看:78
本文介绍了将DataGridView的内容写入XML以生成PDF.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我目前正在做一个项目,我想根据datagridview的内容创建PDF.基本上,我将在用户提供的给定时间范围内创建发票.我用来创建PDF的功能采用XML文件,并设置列信息.我希望能够根据网格中的任何数据即时创建XML文档,以便随后生成PDF.任何建议,或者如果有人有更好的方法,请随时提出建议.

干杯们.

Hey guys, i''m currently doing a project that I want to create PDF''s from the contents of a datagridview. Basically I will be creating invoices for a given time frame provided by the user. The functionality I am using to create the PDF''s take an XML file and that sets the column info. I want to be able to create the XML document on the fly from whatever the data is in the grid so I can then generate my PDF. Any suggestions or if anyone has a better way please feel free to advise.

Cheers Guys.

推荐答案

示例代码可从

这篇关于将DataGridView的内容写入XML以生成PDF.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆