简体   繁体   English

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

[英]C#: How to make autocomplete source of text box is database or datagridview coulmn

我有文本框,我想从数据库或datagridview添加自动完成源,我使用Visual Studio 2010,有人可以帮忙吗?

using TextChanged event 使用TextChanged事件

 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*/        
        }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用C#在Winforms中编辑coulmn值时对DataGridView进行排序 - how to sort a DataGridView on edit the coulmn value in winforms using c# 如何在C#中以明智的方式在Windows中读取datagridview数据 - how to read datagridview data in windows forms coulmn wise in c# 如何使 Telerik 自动完成文本框只接受 c# winforms 中的 1 个条目 - How to make telerik autocomplete text box to accept only 1 entry in c# winforms 具有自动完成的ComboBox列的C#WinForm DataGridView,提供了来自数据库源的动态数据 - C# WinForm DataGridView with autocomplete ComboBox column supplied with dynamic data from database source C#如何将数据库值获取到Datagridview组合框 - C# How to get Database values to Datagridview Combo box C#DataGridView中的自动完成文本框 - Auto complete text box in c# datagridview 如何在C#中将dataGridView行文本插入数据库 - How to insert dataGridView row text into database in c# 如何在C#中动态设置DataGridView的源代码? - How to dynamically set source of DataGridView in C#? C#如何将文本框中的数据插入到datagridview,然后将datagridview数据保存到数据库中? - C# How to Insert data from text boxes to datagridview and then save the datagridview data into database? 如何在C#中的富文本框中使某些文本变为粗体 - How to make some text bold in a rich text box in C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM