Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含 5 列(ID、col1、col2、col3、col4)的数据集中的数据。我必须根据相似的列值过滤行并将它们与主数据集分开。ID 列是唯一的。我必须检查 col1、col2、col3 和 col4 中列值的数据。例如,我有 10 条记录,其中 5 条具有相同的列值,其中 3 条具有相同的列值,而不是前 5 行和 2 行具有完全不同的值。我现在应该有 4 个不同的数据表,分别有 5、3、1 和 1 行。这些数据表可以是动态的,具体取决于数据。
请建议我最好的解决方案。
Dim myDataView As DataView = New DataView('Your Dataset') myDataView.RowFilter = 'Your Serch Values '
尝试这个