如何从CSV文件中读取数据并将其写入网页 [英] How to read data from CSV file and write it into the webpage

查看:270
本文介绍了如何从CSV文件中读取数据并将其写入网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在学习C#的阶段,我想从.csv文件中读取数据,其中列由逗号(,)分隔,我想将这些数据写入网页编码用户界面中的自动化测试。

我怎么想这样做?

Hi,
I am on learning stage of C# , i want to read data from .csv file where columns are seperated by comma(,) and i want to write that data into the webpage for automation testing in Coded UI.
How am i suppose to do that?

推荐答案





您可以尝试以下方法..

http://www.c-sharpcorner.com/Blogs/15753/read-csv-file-and-get-record-in-datatable-using-textfieldpar。 aspx [ ^ ]


这篇关于如何从CSV文件中读取数据并将其写入网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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