C#使用按钮将数据从datagridview移到另一个datagridview [英] C# moving data from datagridview to another datagridview using button

查看:406
本文介绍了C#使用按钮将数据从datagridview移到另一个datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

目前,我正在与我的系统配合使用,
什么是将数据从datagridview A右移到datagridview B的最佳代码,当我单击按钮向右移动时反之亦然...

希望有人帮助我..预先谢谢您:)

hello,

currently, im working with on my system,
what is the best code for moving data to the right from datagridview A to datagridview B when i clicked button move right and vice versa...

hope someone helps me.. thank you in advance :)

推荐答案

如果您要移动数据,最好的方法是从一个数据中移动它源到另一个,然后再次绑定您的网格.假设这不是网络应用.
If you want to move data, the best way to do it, is to move it from one data source to the other, then bind your grid again. This assumes this is not a web app.


这篇关于C#使用按钮将数据从datagridview移到另一个datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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