特定报告所需的建议 [英] required suggestion for particular report
问题描述
亲爱的所有人
我有一个困惑
我的网络应用程序
我们有时需要一些报告或数据,而这些报告或数据不能适合asp.net中可用的任何数据控件,例如gridview,repeater,数据列表,例如
假设datavalue1,2,3,4,5,6,7是来自数据库的必需数据,我们想要如下报告
Dear all
I have one confusion
I web app
we some time needs some reports or data in a way which cant be fit suitable in any data controls available in asp.net like gridview,repeater,datalist like
suppose datavalue1,2,3,4,5,6,7 is the required data coming from database and we want report like following
someheadings//////////////////
againg heding
address
然后按照以下方式进行数据
and then data in following way
datavalu1 datavalu2 datavalu3
datavalu4 datavalu5
datavalu6
datavalu7
那么我们将不得不在stringbuilder中追加字符串,并且必须维护表格,td,tr,div等许多HTML标记,并最终写入stringbuilder字符串
这是大量记录的一种更好的方法吗?还有没有办法在asp.net数据绑定控件中获取此类数据?
then we will have to append string in stringbuilder and will have to maintain html tags like tables,td,tr,div and many others and the finally write stringbuilder string
Is this a better way for plenty of amount of records and also is there any way to take such data in asp.net data bind controls
推荐答案
Repeater和DataList控件使用模板,因此呈现的结构可以非常灵活.也可以选择使用XSLT生成渲染的输出.
The Repeater and DataList controls use templates so the rendered structure can be very flexible. Using XSLT to produce rendered output may also be an option.
这篇关于特定报告所需的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!