如何创建搜索引擎以显示数据库中的数据? [英] how do i create search engine to display data from database?

查看:90
本文介绍了如何创建搜索引擎以显示数据库中的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何实现搜索引擎以在datagridview中显示数据?

how do i implement search engine to display data in datagridview ?

推荐答案

您是要创建Internet搜索引擎,还是只是尝试创建Internet搜索引擎?显示一些简单的数据库信息?也许您可以使问题更清楚.
Do you mean you want to create an internet search engine, or are you just trying to display some simple database information? Perhaps you could make your question clearer.


使用条件类似的查询
例如
从员工中选择*,其中EmpName类似于("&txtEmpName.text&%")
使用这样的查询,并通过该查询设置DataGridView的数据源.

如需任何帮助,请随时通过...与我联系.
nadarmuthukumar@yahoo.co.in
masssoftech.blogspot.com
use the query with like condition
for e.g.
Select * from Employee where EmpName like (''"& txtEmpName.text &"%'')
use query like this and set the data source for the DataGridView with this Query.

For any help feel free to contact me at...
nadarmuthukumar@yahoo.co.in
masssoftech.blogspot.com


您可以使用通配符搜索 [ ^ ]或 ^ ].
you can use wildcard character search[^] or full text search[^].


这篇关于如何创建搜索引擎以显示数据库中的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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