如何使用从grid1 form1进行的选择填充form2上的grid2 [英] How to Populate grid2 on form2 with selection made from grid1 form1

查看:56
本文介绍了如何使用从grid1 form1进行的选择填充form2上的grid2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们

我需要在gridview1上所做的选择来填充gridview2的帮助...
gridview 1有模块,当我选择一个模块时,要在该模块中用Topics填充gridview 2,这些gridviews处于不同的形式.

帮助将不胜感激.

Reo

Ey guys

I need help populating gridview2 with selection made on gridview1...
gridview 1 has modules and when I select one of the modules I wana populate gridview 2 with Topics within that selected module, these gridviews are on separate forms.

Help will be much appreciated.

Reo

推荐答案

HI REABETSOE21,

你可以做这样的事情.您可以在grid1中项目上的选择上重定向页面,并将一些唯一值或id传递给form2.在form2上获取该值/id并绑定网格.

谢谢
HI REABETSOE21,

u can do something like this. you can redirect page on selection on item in grid1 and pass some unique value or id to form2. fetch that that value/id on form2 and bind grid.

thanks


嘿,卡卡迪亚

我尝试使用传递给第二个表单的会话,但是不知何故该会话为空,这导致无法填充gridview2.

如何从Grid1上的Selection中传递ID以在Grid2上使用?
Hey Kkakadiya

I tried using a session that i pass to the 2nd form, but somehow the session was empty, which results in gridview2 not to be populated.

how can i pass the ID from Selection on Grid1 to use on Grid2?


这篇关于如何使用从grid1 form1进行的选择填充form2上的grid2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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