从form2 Listbox2选择的项目将显示在另一个form1的数据网格视图中 [英] from form2 Listbox2 selected item wil be displayed in data grid view in another form1

查看:58
本文介绍了从form2 Listbox2选择的项目将显示在另一个form1的数据网格视图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Listbox2所选项目将以另一种形式1显示在数据网格视图中。



设计Form1如下;



Listbox1按钮Listbox2

加载

ADD ALL



RK RK

CK CK



listbox1从数据库中检索到的所有教员名称



当我点击加载按钮从数据库中检索并显示在Listbox1中的所有教员名称。



当我从Listbox1中选择教员名称并单击Addbox按钮时Listbox2 Listbox2。







Form2设计如下;





日期时间段列名列名列名列名



在列名中的form2中,Listbox2选择教职员名称想要在Form2的数据网格视图中显示。



f或者该怎么办。



请发送密码。从Listbox2中选择教员姓名想要显示。



怎么办。





输出我想在运行模式下如下所示。



当我点击RK CK想要在数据网格视图中显示的绘图(按钮)时绘制(按钮)在Form2。





日期RK CK





请发送代码。

from form2 Listbox2 selected item wil be displayed in data grid view in another form1.

Design Form1 as follows;

Listbox1 Button Listbox2
Load
ADD ALL

RK RK
CK CK

in listbox1 all faculty name retrieved from data base

when i click the load button all faculty name retrieved from data base and displayed in Listbox1.

when i select the faculty name from Listbox1 and click the add button the Listbox2 Listbox2.



Form2 design as follows;


Date period Column name Column name Column name Column name

in the form2 in the column name that Listbox2 select the faculty name want to display in the data grid view in Form2.

for that how to do.

please send the code. select faculty name from Listbox2 want to display.

how to do.


Output i want as follows in run mode.

Draw(Button) when i click the Draw(Button) the RK CK want to display in data grid view in Form2.


Date period RK CK


please send the code.

推荐答案

请发送代码。

它在这里不起作用。



以下是询问者的预期:

1. 首先尝试你想做什么!你可能会发现它并不那么难。

2.制定你所做的事情看似问题/不工作。



尝试一下,告诉你是否面临问题。

各位会员非常乐意为此提供帮助。
please send the code.
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


这篇关于从form2 Listbox2选择的项目将显示在另一个form1的数据网格视图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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