从列表框中删除所选值 [英] Delete selected value from listbox

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

问题描述



我正在尝试运行删除sql语句。我希望它从列表框中删除,并删除当前选中的那个。

i尝试了一些东西,但是没有成功


请帮助[

Hi,
I am trying to run a delete sql statement. i want it to delete from a list box, and delete the one which is currently selected.
i have tried a few things, but hane not had success

Please help[

推荐答案




我试图运行删除sql声明。我希望它从列表框中删除,并删除当前选中的那个。

i尝试了一些东西,但是没有成功


请帮助[
Hi,
I am trying to run a delete sql statement. i want it to delete from a list box, and delete the one which is currently selected.
i have tried a few things, but hane not had success

Please help[



你试过什么?

What have you tried?



你好,

我试图运行一个删除sql语句。我希望它从列表框中删除,并删除当前选中的那个。

i尝试了一些东西,但是没有成功


请帮助[
Hi,
I am trying to run a delete sql statement. i want it to delete from a list box, and delete the one which is currently selected.
i have tried a few things, but hane not had success

Please help[



列表框的行源是什么(在SQL中)?

What is the row source of the listbox (in SQL)?


我的列表名为lstViewRequest,并且这是我在is中添加了一个删除查询,现在,它会询问你要删除的记录。

这是代码:

My list is called lstViewRequest, and this is i have added a delete query into is, and right now, it will ask you for the record you weant to delete.
this is the code:

展开 | 选择 | Wrap | 行号


这篇关于从列表框中删除所选值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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