如何从文本框(使用自动完成扩展器进行复制)复制到列表框. [英] How to Copy from a Textbox(viz using Autocomplete extender) to Listbox.

查看:76
本文介绍了如何从文本框(使用自动完成扩展器进行复制)复制到列表框.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用AjaxAutoCompleteExtender填充文本框.它的工作正常.现在我要将选定的项目从文本框复制到列表框.我不确定要使用的属性或方法.

Hi,
I am using an AjaxAutoCompleteExtender to fill a text box. Its working fine. Now i want to copy the selected item from the textbox to Listbox.I am not sure about the property or method to be used.

Can any one help me?

推荐答案

您可以添加类似
Listbox1.Items.Add(TextBox1.Text);
如果我确实错过了任何事情,请解释更多.
You can add like
Listbox1.Items.Add(TextBox1.Text);
Explain more If I did miss anything.


这篇关于如何从文本框(使用自动完成扩展器进行复制)复制到列表框.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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