问题描述
我是C#的新手。
我将从文件流中读取顺序数据。我将数据重新排序到表/数组并显示在主窗体上的DataView窗口中。数据将始终是顺序的。列是常量但行和表的数量不同,将在运行时确定。数据本质上是阵列/结构的阵列/结构。
我想将数据保存在内存中,以便快速加载到DataView中。
我应该使用数组,DataList,DataTables,DataSet,Collection?
我尝试过:
还没有,仍处于计划阶段。
I'm new to C#
I have sequential data I will read from a file stream. I will reorder the data into table/array and display in a DataView window on the main form. The data will always be sequential. The columns are constant but the number of rows and tables vary and will be determined at run time. The data is essentially array/structures of array/structures.
I want to hold the data in memory for quick loading into the DataView.
Should I use arrays, DataList, DataTables, DataSets, Collection?
What I have tried:
Nothing yet, still in planning stages.
这篇关于对于顺序数据,这是最好的;数组,数据集,数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!