如何在Windows应用程序中读取Csv文件列明智? [英] How Can I Read Csv File Column Wise In Windows Application?
本文介绍了如何在Windows应用程序中读取Csv文件列明智?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想按列读取csv文件并将其存储在list.not中行。
例如:
Hi
I want to read csv file columnwise and store it in a list.not row wise.
For eg:
country,equity
780,880
990,875
我想插入列表中
I want to insert into a list as
country equity
780 880
990 875
How can i store columnwise in a list.Please help.urgent.
推荐答案
使用此:快速CSV阅读器 [ ^ ]
刚刚注意到类似的一个。
如何使用c#从csv文件中读取 [ ^ ]
Just noticed a similar one.
How to read from csv file using c#[^]
您好,
我认为以下链接可以帮助您。
使用C#读取CSV文件 [ ^ ]
使用C#中的TextFieldParser读取CSV文件并在DataTable中获取记录 [ ^ ]
Hi,
I think below links will help you.
Read CSV file using C#[^]
Read CSV file and Get Record in DataTable using TextFieldParser in C#[^]
这篇关于如何在Windows应用程序中读取Csv文件列明智?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文