使用搜索框输入自动填充数据表 [英] Autopopulate datalist with search box input

查看:175
本文介绍了使用搜索框输入自动填充数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景,我有一个Datalist,一开始就是空白。

但是当我在搜索框中放入一些单词时,关键字匹配的详细信息将是

在Datalist中自动填充。您可以提供任何想法或任何链接。

I have a scenario in which I have a Datalist which would be blank at first.
But when I put some words in a search box,the keyword match details will be
autopopulated in the Datalist.Can you kindly give any idea or any link.

推荐答案





根据搜索文本,如果在DB中找到搜索到的文本,则将其填入数据集中,然后计算编号。数据集中的行数,基于将数据绑定到数据列表,如果数据集行数为零,则禁用数据列表。


Based on the search text , if the searched text found in DB, then fill it in dataset, then count the no. of rows in dataset , based on that bind data to the datalist , if dataset row count is zero, then disable the datalist.


这篇关于使用搜索框输入自动填充数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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