如何仅使用文本框和一个按钮在网格视图中显示多个表 [英] how to display multiple tables in grid view using only textbox and one button

查看:74
本文介绍了如何仅使用文本框和一个按钮在网格视图中显示多个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个简单的网页,其中我创建了多个表格,我希望每当用户在一个文本框和一个列表框中搜索时,就会显示这些表格记录,用户将从中选择表格名称。我知道如何在网格视图中搜索和显示但仅限于一个表格。

请告诉我一个简单的解决方案因为我是NOVICE。

i am making a simple web page in which i created multiple tables and i want these table records to be displayed whenever a user searches in one text box and a list box from which the user will select the table name.i know how to search and display in grid view but only for one table.
please tell me a simple solution because i am a NOVICE.

推荐答案

如果有 ListBox 用户将从中选择表格,那么您需要以 SelectedValue <形成查询/ code> of ListBox
If there is a ListBox, from which User would select the Table, then you need to form queries taking the SelectedValue of ListBox.


这篇关于如何仅使用文本框和一个按钮在网格视图中显示多个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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