问题描述
你好
我在c#中创建一个数据库应用程序。我有一个名为members_db的数据库表。我有这么多表单,一个名为MEMBERS的表单包含members_db的完整信息。一个名为SEARCH的表单还包含一个搜索查询,该查询在members_db中搜索记录但不包含members_db记录的完整信息。 MEMBERS和SEARCH都包含用于选择单个记录的列表框。
i希望能够将SEARCH链接到MEMBERS,这样当我们使用SEARCH表单搜索members_db中的记录时,我双击一个项目SEARCH中的列表框将以MEMBERS形式显示或打开其相关记录。
hello
i am making a database application in c#. i have a database table called members_db. i have so many forms, one form called MEMBERS contains full information of members_db. One form called SEARCH also contain a search query which search records in members_db but dont contain full information of records of members_db. Both MEMBERS and SEARCH contain listbox which is used to select individual records.
i want to able to link SEARCH with MEMBERS so that when we use SEARCH form to search for records from members_db and i double click an item in the listbox in SEARCH it will display or open its related record in the MEMBERS form.
推荐答案
这篇关于显示表单的详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!