在Asp.net中搜索 [英] Searching in Asp.net

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

问题描述

你好...
我想搜索表中的条目,但该表不在数据库中,因为它包含超链接,因此有一个包含该表的Web表单,现在我要在该表中搜索?

Hello ...
I want to search for entries in table but the table is not in database as it contains hyperlinks so a web form is there which contains that table and now I want to search in that table?
Can you please help me?

推荐答案

检查此链接,您将获得执行该操作的逻辑
将ASP.NET搜索词归入数据库并列出最受欢迎的 [ ^ ]
Check this link, you will get the logic how to do this
ASP.NET search terms to database and listing most popular [^]


您必须已将该表放入某些内存对象中,例如数据集/数据表或某些集合.因此,您可以搜索该对象/集合并显示结果.
You must have put that table in some inmemory objects like dataset/datatable or some collection. So you can search in that object/collection and show the result.


如果超链接指向外部表(该表不属于您的系统),则我除非您拥有对该表的访问权限,否则恐怕无法搜索该表.

如果您有权限,则可以使用数据库连接加载该表,然后在该表上运行查询.
If the hyperlinks point to an external table (a table that is not part of your system), then I''m afraid it may not be possible to search that table unless you have access rights to that table.

If you do have permission, you can then load that table using a database connection, and then run a query on it.


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

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