从其他表单调用Call Name Componen Datagridview [英] Invoke Call Name Componen Datagridview from other Form

查看:64
本文介绍了从其他表单调用Call Name Componen Datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我,我是新手...........

i在form1中有componen datagridview然后我将在表单2中调用名称datagridview。

这是我的代码:

Please Help me, I'm Newbie...........
i have the componen datagridview in form1 and then i will invoke name datagridview in form 2.
this my code :

form1 frm = new from1();
form1.Namedatagridview.datasource=null;


当我写from1时
。为什么datagridview的名字没有出现?


when i'm write "from1." why name of datagridview not show up ?

推荐答案

由于这个问题非常受欢迎,而我以前的答案往往不太清楚,可能还不够清楚,我决定写一篇提示/技巧文章,详细的代码示例和解释:一次回答的许多问题 - Windows窗体或WPF Windows之间的协作



-SA
As the question turned out to be very popular, and my previous answers often were not well understood, probably were not clear enough, I decided to write a Tips/Trick article complete with detailed code samples and explanations: Many Questions Answered at Once — Collaboration between Windows Forms or WPF Windows.

—SA


由于这个问题非常受欢迎,我以前的答案常常没有得到很好的理解,可能还不够清楚,我决定写一篇提示/技巧文章,详细的代码示例和解释:< a href =http://www.codeproject.com/Tips/889332/Many-Questions-Answered-at-Once-Collaboration-betw>一次回答的许多问题 - Windows窗体或WPF Windows之间的协作 。


-SA
As the question turned out to be very popular, and my previous answers often were not well understood, probably were not clear enough, I decided to write a Tips/Trick article complete with detailed code samples and explanations: Many Questions Answered at Once — Collaboration between Windows Forms or WPF Windows.

—SA


这篇关于从其他表单调用Call Name Componen Datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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