日本美女剖腹自尽。:vb窗体上有三个COMOB控件,如何把所选的内容添加到已有数据库
来源:百度文库 编辑:高校问答 时间:2024/05/13 03:36:30
1、连接数据库
2、在vb中输入sql语句并执行就可以了。
先引用ADO对象,
然后写:
con.execute("intsert into [table] value('" & combo1.text & "','" & combo2.text & "','" & combo3.text & "'")
这样就好了!