如何从Form2绑定Form1 Gridview \ textboxes [英] How to Bind Form1 Gridview\textboxes from Form2

查看:79
本文介绍了如何从Form2绑定Form1 Gridview \ textboxes的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两张Win Form。

Form1 MainForm

Form2 SearchForm

我可以从MainForm打开搜索表单。现在

我想从Form2 Button Click事件绑定Form1的Gridview和文本框。如何绑定其他表格Gridview文本框。

I have tow Win Form.
Form1 MainForm
Form2 SearchForm
I can open Search Form from MainForm. Now
I want to bind Form1's Gridview and textboxes from Form2 Button Click event. How can I bind Other Form Gridview Text Boxes.

推荐答案

即使正式这不是重新发布,这个问题表明你忽略了过去的答案从他们那里得出结论:

如何将搜索到的数据从表格2传递到1 ... [ ^ ],

[REPOST]如何从子表单中将搜索结果数据呈现为父表单 [ ^ ]。



也许你看不出这些问题是如何相关的,但是密切相关。可能你总是朝着错误的方向前进。不要通过查看问题的根源(在解决方案中向您解释)来掌握这个想法,而是继续询问有关特定特殊情况的问题。一些概括怎么样?你以前没有问过任何后续问题。忽略答案对你无能为力。



-SA
Even though formally this is not a re-post, this question indicates that you are ignoring past answers on do not make conclusions from them:
How to pass Searched Data From Form 2 to From 1[^],
[REPOST] How to render search result Data to Parent Form from Child Form[^].

Perhaps you don't see how these issues are related, but they are closely related. Probably, you are moving in wrong direction all the time. Instead of grasping the idea by looking at the root of the problem (explained to you in the solutions), you keep asking question on specific special cases instead. How about some generalization? And you did not ask any follow-up questions before. Ignoring answers cannot help you.

—SA


这篇关于如何从Form2绑定Form1 Gridview \ textboxes的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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