在Visual Studio内部搜索Access数据库 [英] Searching inside Visual Studio for Access Database

查看:152
本文介绍了在Visual Studio内部搜索Access数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我问如何在Visual Studios中为Web表单实现搜索?例如,我正在使用Access数据库,我想搜索巧克力,它会给我一个巧克力产品的网格视图。谢谢。

Hi, today I am asking how would a search be implemented for a web form inside Visual Studios? For example, I am using Access Database & I want to search for "Chocolate" & it would give me a gridview of "Chocolate" products. Thanks.

推荐答案

您需要使用 SQL 选择 [ ^ ]语句,用于查找与搜索字符串匹配的记录。但是,鉴于你说你是cluelkess,也许你实际上还没有设置数据库。试试数据库文章部分 [ ^ ]有用的想法。
You would need to use the SQL Select[^] statement to find records that match your search string. However, given that you say you are "cluelkess", maybe you do not actually have a databse set up yet. Try the Database articles section[^] for useful ideas.


这篇关于在Visual Studio内部搜索Access数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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