用文本框替换列表框中的数据 [英] replace data in listbox with tht of textbox

查看:84
本文介绍了用文本框替换列表框中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧我有一个列表框中显示的数据列表...


i想要当我在列表框中选择任何值并点击重命名时它应该重命名为数据库,我在文本框中提供了值。


im能够获得列表框中列出的值...但它没有重命名它。


这里'是我的代码

ok i have a list of data that gets displayed in listbox...

i want tht when i select any value in tht listbox and click on rename it should rename tht in the database with the value i provide in the text box.

i m able to get the values listed in list box...but its not renaming it .

here''s my code

展开 | 选择 | Wrap | 行号

推荐答案

我认为这是:

i think this is:

展开 | 选择 | Wrap | 行号


nope not not工作...我把它变成了流派,因为你说ciary它不工作
nope not working ... i chaned it to genre as u said ciary its not working


试试这个:

try this:

展开 | 选择 | Wrap | 行号


这篇关于用文本框替换列表框中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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