自动完成属性 [英] Auto complete property

查看:62
本文介绍了自动完成属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我正在做项目,因为我在数据网格视图中有一个文本框,当我在文本框中输入代码时,它将显示信息.在文本框中关联了该代码.
例如
prasad- 143
sunil- 123

只有我输入代码123,然后单击然后在文本框中显示sunil

因此,请将解决方案或建议发送给做什么....

hello
i am doing project in that i have one text box in data grid view, when i enter the code in text box then it show the info. related that code in text box.
ex.
prasad- 143
sunil- 123

only i enter the code 123 and click then show in text box sunil

so please send the solution or suggestion to what to do ....

推荐答案

请发送解决方案
它在这里不能这样工作.

这是询问者的期望:
1. 先尝试您要做什么!
2.制定看起来像问题/无法解决的问题.

试试看,告诉他们是否遇到问题.
成员将很乐意为您提供帮助.

建议做什么...
使用文本框的OnKeyPress事件.查找输入的值,并基于该值返回结果(如果有).试试.
please send the solution
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

suggestion to what to do...
Use OnKeyPress event of the textbox. Find the value entered, and based on it return the result if any. Try.


这篇关于自动完成属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆