简体   繁体   中英

C# and Text file into a typed dataset

Is there any way to load a text file (edi, efi file) into a typed dataset? I thought you could do this using linq but have yet to figure how. Anyone have any suggestions?

假设您有一个将处理文件类型(ODBC或OLEDB类型)的驱动程序/提供程序,则应该能够在键入的数据集上调用Fill方法,并将适当的命令传递给它,该命令将解析文件中的数据并填充您键入的数据集。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM