E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\FinancialManagement_new\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
F:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\newproject\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\新工程\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\新工程\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\新工程\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\新工程\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\新工程\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\新工程\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\新工程\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
C:\Users\Administrator\Desktop\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\软件版本\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\2011-5-20\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\523\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\2011-5-23\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
F:\2011-5-25删除短信发送模块\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.pdb
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.dll
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\bin\Debug\DLLFullPrint.pdb
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\ResolveAssemblyReference.cache
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.Frm_PrintSet.resources
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.csproj.GenerateResource.Cache
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLLFullPrint.dll
E:\2011-5-25最终\FinancialManagement\DLLFullPrint\DLLFullPrint\obj\Debug\DLL
没有合适的资源?快使用搜索试试~ 我知道了~
C#万能打印--winform中打印dataGridView表格
共60个文件
svn-base:25个
all-wcprops:8个
entries:8个
需积分: 50 81 下载量 198 浏览量
2017-06-22
16:23:10
上传
评论 2
收藏 175KB ZIP 举报
温馨提示
1.在解决方案中添加现有项目DLLFullPrint,然后在主工程中添加引用,引用这个项目。 2.在界面设计中,添加按钮PrintButton,双击它进入代码界面; 在代码文件中,首先使用using DLLFullPrint; 然后按钮点击事件中写入以下代码: private void printButton_Click(object sender, EventArgs e) { System.Data.DataTable dt = new System.Data.DataTable(); DataRow dr; //设置列表头 foreach (DataGridViewColumn headerCell in dataGridView1.Columns) { dt.Columns.Add(headerCell.HeaderText); } foreach (DataGridViewRow item in dataGridView1.Rows) { dr = dt.NewRow(); for (int i = 0; i < dt.Columns.Count; i++) { dr[i] = item.Cells[i].Value.ToString(); } dt.Rows.Add(dr); } DataSet dy= new DataSet(); dy.Tables.Add(dt); MyDLL.TakeOver(dy); } 3.运行程序,点击打印按钮,弹出打印界面,调节界面,打印预览,需安装打印机。
资源推荐
资源详情
资源评论
收起资源包目录
DLLFullPrint.zip (60个子文件)
DLLFullPrint
DLLFullPrint.sln 925B
.svn
tmp
props
prop-base
text-base
props
all-wcprops 338B
entries 548B
prop-base
DLLFullPrint.suo.svn-base 53B
text-base
DLLFullPrint.suo.svn-base 15KB
DLLFullPrint.sln.svn-base 925B
DLLFullPrint
DLLFullPrint.csproj 3KB
Frm_PrintSet.cs 17KB
.svn
tmp
props
prop-base
text-base
props
all-wcprops 925B
entries 1KB
prop-base
text-base
DLLFullPrint.csproj.svn-base 3KB
Frm_PrintSet.cs.svn-base 17KB
MyDLL.cs.svn-base 997B
PrintClass.cs.svn-base 23KB
Frm_PrintSet.Designer.cs.svn-base 38KB
Frm_PrintSet.resx.svn-base 6KB
Frm_PrintSet.Designer.cs 38KB
Properties
.svn
tmp
props
prop-base
text-base
props
all-wcprops 260B
entries 390B
prop-base
text-base
AssemblyInfo.cs.svn-base 1KB
AssemblyInfo.cs 1KB
Frm_PrintSet.resx 6KB
obj
Debug
DLLFullPrint.Frm_PrintSet.resources 180B
Refactor
DLLFullPrint.dll 9KB
.svn
tmp
props
prop-base
text-base
props
all-wcprops 989B
entries 1KB
prop-base
DLLFullPrint.pdb.svn-base 53B
DLLFullPrint.dll.svn-base 53B
DLLFullPrint.Frm_PrintSet.resources.svn-base 53B
DLLFullPrint.csproj.GenerateResource.Cache.svn-base 53B
text-base
DLLFullPrint.pdb.svn-base 50KB
DLLFullPrint.dll.svn-base 32KB
DLLFullPrint.csproj.FileListAbsolute.txt.svn-base 4KB
DLLFullPrint.Frm_PrintSet.resources.svn-base 180B
DLLFullPrint.csproj.GenerateResource.Cache.svn-base 781B
DLLFullPrint.csproj.FileListAbsolute.txt 10KB
TempPE
.svn
tmp
props
prop-base
text-base
props
all-wcprops 120B
entries 244B
prop-base
text-base
DLLFullPrint.pdb 48KB
DLLFullPrint.dll 32KB
DLLFullPrint.csproj.GenerateResource.Cache 781B
.svn
tmp
props
prop-base
text-base
props
all-wcprops 470B
entries 588B
prop-base
text-base
DLLFullPrint.csproj.FileList.txt.svn-base 255B
DLLFullPrint.csproj.FileListAbsolute.txt.svn-base 3KB
DLLFullPrint.csproj.FileListAbsolute.txt 3KB
DLLFullPrint.csproj.FileList.txt 255B
PrintClass.cs 23KB
bin
Debug
.svn
tmp
props
prop-base
text-base
props
all-wcprops 407B
entries 567B
prop-base
DLLFullPrint.pdb.svn-base 53B
DLLFullPrint.dll.svn-base 53B
text-base
DLLFullPrint.pdb.svn-base 50KB
DLLFullPrint.dll.svn-base 32KB
DLLFullPrint.pdb 48KB
DLLFullPrint.dll 32KB
.svn
tmp
props
prop-base
text-base
props
all-wcprops 107B
entries 243B
prop-base
text-base
MyDLL.cs 997B
DLLFullPrint.suo 15KB
共 60 条
- 1
资源评论
秦艺
- 粉丝: 12
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功