用新的数据集值替换数据集到dataadapter.fill数据集 [英] replace the dataset with the new dataset values to the dataadapter.fill dataset

查看:77
本文介绍了用新的数据集值替换数据集到dataadapter.fill数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用MYSQL连接填充数据集,但我想将新的数据集值替换为旧值
例如
在dataadapter.fill数据集中包含ID为
1个
2 b
3 c
4天
在我的新数据集中,值是
1 r
2 w
然后我想用新值替换填充数据集值
然后我将获得填充值数据集,为
1 r
2 w
3 c
4天
如果有人知道解决方案,请告诉我

i will be fill the data set using MYSQL connection but i want to replace the new dataset value to the old value
e.g
in dataadapter.fill dataset contain ID is
1 a
2 b
3 c
4 d
in my new dataset value is
1 r
2 w
then i want to replace the fill dataset value with the new value
then i will be get the fill value dataset as
1 r
2 w
3 c
4 d
if any one known the solution then tell me
thanks in advance.

推荐答案

如果DataSet具有新值,则只需更新数据库即可.如果您提供有关问题的更具体的信息,则可能会得到更好的答案.我们不知道您正在使用哪个数据库,或者您曾经使用过什么方法提取数据...所以我们无法为您提供更多帮助.您可能需要阅读一些 CP文章,对该概念进行一些基础研究 a> [^ ] .

希望这会有所帮助.
If the DataSet has new values, then just update the database. If you provide more specific information about your problem, you can probably get a better answer than that. We don''t know what database you are working with, or what method you''ve used to pull the data...so we can''t help you much more. You may want to do some basic research on the concept by reading some of the CP articles[^].

Hope this helps.


这篇关于用新的数据集值替换数据集到dataadapter.fill数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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