从数据库中搜索asp.net项目的数据 [英] search data from the database for asp.net project

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

问题描述

您好...



任何人都可以帮助我,我开发了一个数据库Web应用程序。在首页我想开发从数据库中搜索数据我使用asp.net和sql更好地解释你可以从这个页面看看我需要搜索的确切内容HTTP://www.ecch.com"产品搜索



谢谢

Hi there...

any one can help me, I develop one database web application. on the front page I want to develop Searching data from the database I using asp.net and sql for better explanation you can look the exact what i need search from this page HTTP://www.ecch.com" product search

Thanks

推荐答案

请不要在这里粘贴您的问题而不要删除前标签。



您可以通过数据库中的select语句搜索数据。您可以使用LIKE搜索数据中的子字符串。
Please don''t paste your question here and not remove the pre tags.

You search data through select statements on your DB. You can use LIKE to search for substrings in your data.


查询提供了多种过滤数据的方法。您可以在 WHERE 子句中使用各种条件,例如 LIKE,BETWEEN,<,> 等。



搜索条件如下所述 - http://msdn.microsoft.com/en-us/library/ms173545.aspx [ ^ ]。
Queries provide a number of ways to filter out data. You can use various conditions with the WHERE clause e.g. LIKE, BETWEEN, <, > etc.

Search conditions are described here - http://msdn.microsoft.com/en-us/library/ms173545.aspx[^].


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

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