请帮助我做到这一点 [英] pls help me to do this

查看:92
本文介绍了请帮助我做到这一点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai
我正在vb.net中设计表单,有一个组合框.其中包含服务器的名称.包含与服务器相对应的表的清单列表框.
当我选择数据库然后单击删除按钮时,对应于该数据库的表将被删除,并在检查表框控件中添加适当的标记,即,删除对应的表并在其对应的位置放置刻度符号或将其保留为空白在清单列表中的items.pls中,任何人都可以帮助我执行此操作.是s/w

hai
am designing the form in vb.net,having one combo box.it contains the name of the server. checkedlist box that contain the table corresponding to the servers.
when i choose the database then click the delete button,the tables corresponding to thatdatabase are deleted and also put the appropriate marks in the checkedlist box control,ie,the corresponding tables are deleted put tick mark symbol or leave it as blank in the corresponding place in the checkedlist box items.pls anybody help me to do this. am a new to this s/w

推荐答案

的新手,您需要运行两个不同的线程.

线程1:它将检查已检查列表的内容并从数据库中删除表.

线程2:它将检查数据库(sys.tables),并让您知道还剩下多少张表...因此,请检查其他表(已删除)

希望有帮助:)
you need to run two different thread.

thread 1 : it will check the checked list content and delete the tables from your database.

thread 2 : it will check with database (sys.tables) and let you know how many tables left... so, check others (which are deleted)

Hope this help :)


这篇关于请帮助我做到这一点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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