C#:如何使文本框自动完成源是数据库或datagridview的coulmn文本框、自动完成、数据库、coulmn

由网友(穿校服的时光是最美好)分享简介:我的文本框,我想添加自动完成源来自数据库或datagridview的我使用Visual Studio 2010任何人能帮助,请?? I got textbox and I want to add autocomplete source is from database or datagridview I use...

我的文本框,我想添加自动完成源来自数据库或datagridview的 我使用Visual Studio 2010 任何人能帮助,请??

I got textbox and I want to add autocomplete source is from database or datagridview I use Visual studio 2010 Any one could help please??

推荐答案

使用TextChanged事件

using TextChanged event

 private void textBox1_TextChanged(object sender, EventArgs e)
        {
          /* perfrom serach query to check if thier is similar words to 
           suggested it in the auto complete*/        
        }
阅读全文

相关推荐

最新文章