VB.net中“搜索表单"所需的代码 [英] Code needed for 'Search form ' in VB.net

查看:56
本文介绍了VB.net中“搜索表单"所需的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vb.net 2008和sql server创建一个小型应用程序.我想创建一个搜索表单.当我单击所有形式的SearchToolStripButton时,搜索"表单将与表头表中的数据一起加载到网格中.如何编写以下代码

当我双击搜索窗口网格中的一行时,我想将这些数据返回到相应的表单中,然后在此处进行编辑.

在搜索表单的网格中选择一行并单击确定"按钮后,我要将这些数据返回到相应的表单.

I am creating a small application using vb.net 2008 and sql server.I want to create a search form. When i click in the SearchToolStripButton in all forms the ''Search'' form will be loaded with the data from the header table into a grid. How to write code for the following

When i double click in one row in the grid of search window i want to return those data to the corresponding forms and i want to edit there.
OR
After i select one row in grid in the search form and click OK button i want to return those data to the corresponding forms.

Kindly do the needful.

推荐答案

除非您发布代码,否则我们将为您提供帮助.请发布代码
Unless you post code we can''t help you. Please post code


这篇关于VB.net中“搜索表单"所需的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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