Visual Basic 2008中的多种形式 [英] multiple forms in visual basic 2008

查看:83
本文介绍了Visual Basic 2008中的多种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

在我的应用程序中,需要在多个表中插入数据,因此我为每个表做了一个表单,其中每个表单都有oledb连接来访问数据库,并且会发生插入查询.

我的问题是我需要显示表单,运行插入查询,并在插入结束时关闭当前表单并出现另一个表单.
谁能帮忙

感谢

hi everybody

In my application it is required to insert data in several tables, so i did for each table a form where at each form there is oledb connection to access database and an insert query occurs.

My Problem is that i need to show the form, run the insert query and AT THE END OF INSERT the current form should close and another form should appear.
can anybody help

thanks

推荐答案

代替这样做,如何使用向导形式:

向导表格实现 [
Instead of doing that, how about using a Wizard form:

Wizard Form Implementation[^]

The article is C#, but you shouldn''t have any issues with converting using one of the many free online C#-to-VB converters that are available.


这篇关于Visual Basic 2008中的多种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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