从文本框中的数据库中获取数据 [英] Fetch data from database in textbox
本文介绍了从文本框中的数据库中获取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在开发一个移动应用程序,在该应用程序中,我将从数据库中提取患者的姓名到组合框.
但是现在我想使用Textbox而不是Comobobox.因此,如果我将在文本框中输入"a",则应在文本框中输入以"a"开头的患者姓名.
任何帮助表示感谢.
我应该使用文本框还是列表框,请提出建议.
问候,
Saumya
Hi Everyone,
I am developing a mobile application in which I was fetching the patient''s name from database to my combobox.
But now i want to use Textbox instead of Comobobox. So that if i will enter ''a'' in textbox then the patient''s name starting with ''a'' should come in the textbox.
Any help is kindly appreciated.
Should i use textbox or listbox, please suggest.
Regards,
Saumya
推荐答案
不知道它是否适用于Mobile,但适用于winforms: ^ ]
试试看,看看它的手机具有所需的功能.
Don''t know if it works for Mobile, but for winforms: http://webcache.googleusercontent.com/search?q=cache:http://www.csharpaspnetarticles.com/2009/01/winforms-autocomplete-textbox-using-c.html[^]
Give it a try, and see it mobile has the needed features.
这篇关于从文本框中的数据库中获取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文