处理大型数据表的最佳方法是什么?

发布于 2024-09-11 07:30:05 字数 145 浏览 2 评论 0 原文

我最近一直在玩 Visual C#,现在已经制定了一个项目想法。我希望能够读取 .csv 文件并根据其中包含的数据显示易于阅读的报告。

由于我是 C# 新手,对于真正的编程来说,我想知道处理大量数据的最佳或推荐方法是什么(通过简单、灵活的操作来生成数据报告)?

I've been playing with Visual C# lately and have formulated a project idea now. I'd like to be able to read in a .csv file and display easy-to-read reports based on the data contained within.

As I'm new to C#, and to real programming at all, I was wondering what is the BEST or recommended way to deal with large amounts of data (with easy, flexible manipulation for data report generation)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

月亮邮递员 2024-09-18 07:30:05

GridView 和数据集值得研究。我敢打赌还有其他的,但这非常简单并且可以满足我的需求。

http://msdn.microsoft.com/ en-us/library/system.web.ui.webcontrols.gridview.aspx

GridViews and Data Sets are something to look into. I bet there's other ones but this is pretty straightforward and works for my needs.

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx

眼趣 2024-09-18 07:30:05

ADO.Net 数据集非常适合这个目的。如果您认为可能需要在多个应用程序中使用此数据模型,您还可以查看 实体框架

ADO.Net DataSets work really well for this purpose. If you think you might need to use this data model in several applications, you may also check out Entity Framework.

谎言月老 2024-09-18 07:30:05

将数据存储在关系型数据库(如 SQL Server)中可能是存储方面的最佳选择。首先,您可以使用免费的 SQL Express 版本。

然后,您可以将数据检索到 ADO.Net 用于在 C# 中操作数据的数据集。

Storing the Data in a Relational DB like SQL Server is probably the way to go as far as storage goes. To get you started you can use the Free SQL Expresss version.

You can then retrieve the data into ADO.Net Datasets to manipulate the data in C#.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文