English 中文(简体)
需要帮助VB比较各种文本档案中的数据
原标题:Need help with VB app to compare data in various text files

I m为视像基础,并负责制作各种文本文档(csv, .txt)中读的图像,并比较内部的一些数据。

我认为,我会读到档案中,将其改为数据表。 一旦被列入数据表一,我就可删除不必要的浏览/栏,然后对差异的相关动因进行分类和比较。 困难在于不同档案的格式不同,因此,我需要正确处理每类格式。 这是最佳办法吗?

如果是,我需要帮助编制数据表。 我已经读到一栏中,把它归为一个数据表,但我担心的是逻辑/编码,以摆脱我不需要的浏览和栏目。 此外,我不敢确定如何处理一个囚室,该囚室有一套按 com顺序排列的数值清单,这些数值必须分成几行。

谢谢。

最佳回答

There are lots of ways to accomplish this. One way: Read each file, then convert it to a string array in a common format, such as csv. For each file, you can handle the issues of field location, field format, and multiple rows, and convert it to the common format. After you have the files in a consistent format, you can move them to a data table for sorting, comparison, etc.

问题回答

暂无回答




相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签