Visual Studio点网 [英] visual studio dot net

查看:88
本文介绍了Visual Studio点网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个数据集,我需要比较这两个数据集,以便如果第二个数据集中不存在名称和地址,则需要创建第三个数据集并插入所有
数据集一和数据集二的数据.如果它存在于第一数据集或第二数据集中,则我可能不会在第三数据集中插入相同的值,我只需要插入一个即可.请帮助某人.

I have two datasets and i need to compare these two datasets such that if name and address don''t exist in second dataset, i need to create third dataset and insert all
data''s from dataset one and dataset two. if it is exists in dataset one or dataset two, i may not insert same values in the thrid dataset , i need to insert only one.please help someone.

推荐答案

以下数据集方法应该会有所帮助: MSDN:DataSet.Merge方法 [^ ]

在此处查看其实现:合并两个DataSet消除了重复行 [ ^ ]
Following method of dataset should be helpful: MSDN: DataSet.Merge Method[^]

Have a look at it''s implementation here: Merging two DataSets eliminating the duplicate rows[^]


这篇关于Visual Studio点网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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