如何在vb2010中编写访问数据搜索代码 [英] How to write access data search code in vb2010
问题描述
lz任何人都可以帮助我......
i在ms访问数据库中只有一个表(2007)。该表只包含两个字段ID,Name.i想要使用这个表来搜索ID(主键)和结果应显示特定ID的名称。
在vb.net(2010)表单中,我放置了一个文本框,一个按钮和一个显示结果的标签。我添加了项目中的数据库。现在我必须要做.......请帮助我们
我尝试了什么:
Me.Studendentdatabinding.filter =学生证,& Textbox1.Text& %'
请参阅 ms access vb.net - Google搜索 [ ^ ]。
lz any one can help me...
i have only one table in an ms access database(2007).that table contain two fields only ID,Name.i want to search that table using ID(primary key) and result should show the name of particular id.
In a vb.net(2010) form i put one text box,one button and one label which show result.And i added the database in project.NOW WANT I HAVE TO DO.......PLEASE HELP MEn
What I have tried:
Me.Studendentdatabinding.filter = "Student ID ," & Textbox1.Text & "%'"
See ms access vb.net - Google Search[^].
这篇关于如何在vb2010中编写访问数据搜索代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!