最佳实践? [英] best practice?

查看:92
本文介绍了最佳实践?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VS 2005项目,需要生成大约20个报告。

最佳做法是只创建1个数据集(位于App_code中的.xsd文件)或者为每个报告创建1?

或者换句话说,将它们全部放在1个数据集中是否存在缺点?从我目前的角度来看,这似乎让事情变得更整洁。

欢呼

Joel

www.jojet.com

Hi,
I have a VS 2005 project which will need to generate about 20 reports.

Is it best practice to only create 1 Dataset (the .xsd files which reside in App_code) or to create 1 for each Report?

Or, putting it another way, is there a downside to putting them all in 1 dataset? From my current perspective this appears to make things a bit neater.

cheers

Joel

www.jojet.com

推荐答案

如果一个数据集可以处理所有报告的需求,那么是。但请记住,您将为每个报告生成加载整个数据集(所有列等) 

If one dataset can handle all of your reports' needs then yes. But keep in mind that you will be loading the entire dataset for each report generation (all the columns etc.) 

 


这篇关于最佳实践?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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