来自gridview的水晶报告c# [英] crystal report from gridview c#

查看:81
本文介绍了来自gridview的水晶报告c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从大约2个小时提出一个问题同样的事情给我一篇文章我告诉他的解决方案但在id之后我发现那篇文章没有做我需要的东西我需要让水晶报告做出报告来自未连接到数据库的网格视图我将在那种情况下使用的数据源或datagridview没有连接到数据库

i make a question from about 2 hours about the same thing one give me an article i accpt his solution but after i d it i find that article doesn,t do what i need i need to make the crystal report make th report from grid view that not connected to database what i would use in that situation Data source or what the datagridview is not connected to database

推荐答案

嗯,你不能。



GridView中的数据必须存储在某个地方,如DataTable,以便CR可以绑定到它。 CR无法绑定到GridView本身。
Well, you can't.

The data in the GridView has to be stored somewhere, like a DataTable, so that CR can bind to it. CR can't bind to the GridView itself.


这篇关于来自gridview的水晶报告c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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