简体   繁体   English

文本框中的Visual Basic 2010

[英]Visual basic 2010 in textbox

It is posible that I whenever I input a word in textbox then click the button , the every letter when check in database if that letter has a value .. Then all results will go to textbox2? 有可能我每当我在文本框中输入一个单词然后单击按钮时,在数据库中检查该字母是否具有值时的每个字母。然后所有结果都将进入textbox2?

PS Sorry for my english PS对不起我的英语

There are many different events that can occur pertaining to a text box. 关于文本框,可能发生许多不同的事件。 A description is the key down event. 说明是按键事件。 Every time backspace, arrowkey or letter is pressed, the code in this section runs. 每次按下退格键,箭头键或字母,此部分中的代码就会运行。 I think this is what you're looking for. 我认为这就是您要寻找的。 There are other events that run when the user is no longer looking at that particular box (lose focus). 当用户不再查看特定框(失去焦点)时,还会运行其他事件。 Maybe with more description we can help more. 也许有了更多描述,我们可以提供更多帮助。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM