[REPOST]如何从子表单中将搜索结果数据呈现为父表单 [英] [REPOST] How to render search result Data to Parent Form from Child Form

查看:84
本文介绍了[REPOST]如何从子表单中将搜索结果数据呈现为父表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个表格。

1。 Form1包括Databinds Control Gridview / textboxes等

2.表格2它包含搜索表格



我可以访问Form2 tow From1 。

现在的问题是我要在表单1上搜索搜索结果我在form1中搜索的控件。

我怎么能这样做我使用三层架构BLL DLL图形控件已经绑定。

我想在Form1上呈现搜索结果

I Have two Forms.
1. Form1 Include Databinds Control Gridview /textboxes etc
2. Form 2 It contain Search Form

I can access Form2 tow From1.
Now the problem is i want to render Searched result on form 1 Controls which i searched in form1.
How can i do this i am using Three tier architecture BLL DLL layers.
Form1 Controls already bind.
I want to render search result on Form1

推荐答案

我找到了这篇文章:解决方案2检查它



如何在C#.net [ ^ ]



希望它有所帮助!
i found this post: solution 2 check it

how to enable the buttons which are in parent form from child form in C#.net[^]

hope it helps!


我最近已经回答:如何将搜索到的数据从表格2传递到1 [ ^ ]。



你是否忽略了这个建议,或者不明白?你没有问过任何问题。如果你理解它,你也会理解搜索结果的呈现不会产生特定的问题。在我的方法中,您可以为其中一个表单创建任何类型的界面,包括一些适合传递(查询或推送)搜索结果的界面。你只需重新发帖,而不是试图理解它并找到解决方案。我必须提醒你,重新发帖被认为是滥用(由于明显的原因)并且可以这样报告。



如果你有疑问,更好问你的后续问题。最好在原始问题的页面上进行,而不是在这里。如果你评论一些答案,帖子的作者会收到通知。



-SA
I already answered recently: How to pass Searched Data From Form 2 to From 1[^].

Did you ignore this advice, or did not understand it? You did not ask any questions on it. If you understood it, you would also understand that rendering of search result would not make a specific problem. In my approach, you could create any kind of interface for one of the forms, including some interface suitable to passing (inquiring or pushing) the search results. Instead of trying to understand it and getting to a solution, you simply have a re-post. And I have to remind you, that re-posts are considered as abuse (by apparent reasons) and could be reported as such.

If you have a doubt, better ask your follow-up questions. And better do it on the page of your original question, not here. If you comment some answer, the author of the post gets notification.

—SA


这篇关于[REPOST]如何从子表单中将搜索结果数据呈现为父表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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