C#dataGridView中输入框自动提示、自动完成、自动补全功能

时间:2022-03-23 05:35:19
【文件属性】:

文件名称:C#dataGridView中输入框自动提示、自动完成、自动补全功能

文件大小:57KB

文件格式:ZIP

更新时间:2022-03-23 05:35:19

C# WINFROM

C#dataGridView中输入框自动提示、自动完成、自动补全功能


【文件预览】:
dataGridView
----.vs()
--------dataGridView()
----dataGridView.sln(1KB)
----dataGridView()
--------bin()
--------FrmMain.Designer.cs(5KB)
--------dataGridView.csproj(4KB)
--------Program.cs(526B)
--------obj()
--------FrmMain.cs(2KB)
--------FrmMain.resx(7KB)
--------App.config(189B)
--------Properties()

网友评论

  • private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { DataGridViewTextBoxEditingControl editingControl = e.Control as DataGridViewTextBoxEditingControl; editingControl.AutoCompleteCustomSource = source; editingControl.AutoCompleteMode = AutoCompleteMode.SuggestAppend; editingControl.AutoCompleteSource = AutoCompleteSource.CustomSource; }