如何将.dmp文件读入datatable [英] How to read .dmp file into datatable

查看:121
本文介绍了如何将.dmp文件读入datatable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发1个转换器,其中,我将不同的输入文件格式转换为输出 文件格式(输出文件格式是修复即EXCEL)。

不同的输入文件格式是.txt和.dmp。

其中我能够读取并将.txt文件转换为.xlsx

但是在.dmp文件时,我是无法读取该文件,我想读取文件并将数据存入数据表,以便我可以写入.xlsx文件。



请提供如何阅读.dmp文件的代码

甚至告诉我如何转换.dmp通过c#代码将文件转换为.txt文件。



我尝试过:



在线显示The.dmp文件是从Windows或Oracle生成的。

使用像WireShark这样的窗口工具我可以将文件转换为文本。

但我想使用c#代码执行。



请提供相同的示例代码。

解决方案

< blockquote>可能你必须阅读直接消息协议(DMP)文件格式规范(这里的起点是: Protocols / dmp - Wireshark Wiki [ ^ ])以便为文本文件提供有意义的转换。


I am developing 1 converter in which, I am converting different input file format into output file format(output file format is fix ie EXCEL).
Different input file formats are .txt and .dmp.
In which I am able to read and convert .txt file into .xlsx
But at the time of .dmp file, I am no able to read that file , I want to read file and take data into datatable so i can write into .xlsx file.

Please provide code for how to read .dmp file
or even tell me how to convert .dmp file into .txt file through c# code.

What I have tried:

As online showing "The.dmp file is generate either from Windows or Oracle".
Using window tool like "WireShark" I am able to convert file into text.
But I want to perform using c# code.

Please provide sample code for the same.

解决方案

Probably you have to read the "Direct Message Protocol (DMP)" file format specifications (a starting point here: Protocols/dmp - The Wireshark Wiki[^]) in order to provide a meaningful conversion to a text file.


这篇关于如何将.dmp文件读入datatable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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