English 中文(简体)
我如何在C#和KQ服务器中实施汽车修理,这是否值得?
原标题:How do I implement autocomplete in C# and SQL Server and is it worth it?

因此,我试图做的事情就是一个例子。 让我们假设我会做一个足球游戏节目,我拥有几个田地,我应该填满,其中两个是我想要自动完成的。 内政小组1个文本Box和Away小组1个文本Box。

下面是数据库表所希望的简化例子:

-----------------------------
|  home_team  |  away_team  |
-----------------------------
|  Chelsea FC |   Arsenal   |
|  Liverpool  |  Norwich FC |
|  Man. City  |   Everton   |
|  Tottenham  | Stoke City  |

我想,在两种文本Boxes中的任何一种情况下,该方案将建议或成果核对表中的每个团队。 这样做是为了方便和更快地根据以前的提交书对正确的小组名称进行分类。

How would this be done?

而且,如果我这样做的话,它是否会对数据库造成太多压力,而且会随着下一次提交而恶化? 因为它似乎必须检查整个“家庭-蒸汽”和“离去蒸汽”一栏,每打一封信件,进入文本Boxes。

采用Windows表格。

最佳回答

当表格装满时,你当然希望获得所有数据和领域。 每当你写一封信时都会执行请求,这是坏的。

一旦您拥有所有领域,就简单地将它们列入一个清单,并且有<条码>AutoComplete 推进本信箱。

订立<条码>Auto 填满<>条/条码>和<条码>Auto 填满源,并再做!

举例说,它非常简单!

Auto Full textBox in C#

问题回答

暂无回答




相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签