如何使用按钮单击事件将一个dataGridview数据显示到另一个DataGrid中 [英] how to show one dataGridview Data into another DataGrid using a button click event
本文介绍了如何使用按钮单击事件将一个dataGridview数据显示到另一个DataGrid中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我赢了Form with tab(两页)都包含datagridview。现在我想使用按钮单击事件将一个dataGridView值显示到另一个datagridview中,记住我没有将第一个DataGrid数据保存到数据库中。
i have win Form with tab (two page) both contains datagridview. Now i want to show one dataGridView value into another datagridview using button click event remember i didnt save first DataGrid data into database.
推荐答案
请阅读对问题的评论。
如果我理解你,你想在第二个DataGridView中显示相关数据。看看这里: 31。如何显示主要详细信息? [ ^ ]。
Please, read the comments to the question.
If i understand you well, you want to show related data in the second DataGridView. Have a look here: 31. How do I show master-details?[^].
这篇关于如何使用按钮单击事件将一个dataGridview数据显示到另一个DataGrid中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文