游戏家族招人幽默广告:vb窗体上有三个COMOB控件,如何把所选的内容添加到已有数据库
来源:百度文库 编辑:高考问答 时间:2024/06/05 11:57:07
1、连接数据库
2、在vb中输入sql语句并执行就可以了。
先引用ADO对象,
然后写:
con.execute("intsert into [table] value('" & combo1.text & "','" & combo2.text & "','" & combo3.text & "'")
这样就好了!