我想在winform中实现报告? [英] i want implement report in winform ?

查看:80
本文介绍了我想在winform中实现报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用两种方法在winform中实现报告。

1.在新项目和新表单中使用报告应用程序从数据库中查看所选数据行



2.在现有项目中添加报告以查看表格中的详细信息。



请告诉我如何使用报告中的过滤条件,使用搜索按钮查看表格中的特定数据

i want to implement report in winform using two method.
1.using report application in new project and new form to view the selected data row from the database

2. adding a report in a existing project in the purpose of view the details from table.

please tell me how can i use the filter criteria in report by using search button to view specific data from table

推荐答案

我不是100%确定您的要求 - 但我会关注



a)编写一个winforms组件,包含一个DataSource,BindingList,DataGridView

b)扩展组件可能会像 http://www.getcodesamples.com/src/1240485D/F53FBD61 [ ^ ]或 https://adgv.codeplex 。C om / [ ^ ]



对于第二个问题,您将添加另一个表单,将组件放到它上面并将其连接到您的数据源



(2我给你的链接显示过滤DataGridViews - 如果你google for BindingList过滤搜索你可能会得到更多 - 我在一个项目中使用了adgv,它相当不错)



我明白了吗你的问题?
Im not 100% sure of your requirements - but I'd be looking at

a) writing a winforms component that consists of a DataSource, BindingList, DataGridView
b) Extending the component maybe with something like http://www.getcodesamples.com/src/1240485D/F53FBD61[^] or https://adgv.codeplex.com/[^]

For your second question, you would then add another form, drop your component onto it and wire it up to your datasource

(The 2 links I gave you show filtering DataGridViews - if you google for BindingList Filter Search you may get more - Ive used adgv in a project, its pretty good)

Did I understand your question ?


这篇关于我想在winform中实现报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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