基于LINQ的Excel数据查询方法研究及应用  被引量:1

Research and Application of Excel Data Query Method Based on LINQ

在线阅读下载全文

作  者:亓雪冬 张亮 QI Xuedong;ZHANG Liang(Information Construction Department,China University of Petroleum(East China),Qingdao 266580,China)

机构地区:[1]中国石油大学(华东)信息化建设处,山东青岛266580

出  处:《微型电脑应用》2021年第7期189-191,共3页Microcomputer Applications

摘  要:Excel是表格化数据编辑和处理的重要工具,然而由于缺乏现代编程语言的直接支持,复杂数据的处理能力较弱。因而研究了使用语言集成查询LINQ处理Excel数据的思路和方法,以扩展Excel的数据处理能力。首先讨论了LINQ针对传统查询的优势,介绍了LINQ查询的基本形式。接着研究了LINQ处理Excel数据的关键技术,包括连接Excel文件数据源,将Excel工作表导入到DataTable数据表,将LINQ查询结果导出到Excel工作表等问题。最后通过实际业务中的数据处理验证了该方法的可行性。实践表明,LINQ增强了Excel数据处理的能力,提高了复杂数据的处理效率。Excel is an important tool for tabular data editing and processing.However,due to the lack of direct support of the modern programming language,the processing capabilities of complex data are weak.This paper studies the methods of using LINQ(language integrated query)to process Excel data and expand Excel’s data processing capabilities.Firstly,the advantages of LINQ for traditional queries are discussed,and the basic forms of LINQ queries are introduced.Next,some key technologies of LINQ processing Excel data are studied,including connecting to the Excel file data source,importing the Excel worksheet to the DataTable typed data table,and exporting the LINQ query results to the Excel worksheet.Finally,the feasibility of the method is verified through data processing in actual business.Practice shows that LINQ enhances the ability of Excel data processing,improves the processing efficiency of complex data.

关 键 词:电子表格 语言集成查询 结构化查询语言 数据处理 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象