日本美女剖腹自尽。:vb窗体上有三个COMOB控件,如何把所选的内容添加到已有数据库
来源:百度文库 编辑:高校问答 时间:2024/04/28 22:22:27
1、连接数据库
2、在vb中输入sql语句并执行就可以了。
先引用ADO对象,
然后写:
con.execute("intsert into [table] value('" & combo1.text & "','" & combo2.text & "','" & combo3.text & "'")
这样就好了!
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/04/28 22:22:27
1、连接数据库
2、在vb中输入sql语句并执行就可以了。
先引用ADO对象,
然后写:
con.execute("intsert into [table] value('" & combo1.text & "','" & combo2.text & "','" & combo3.text & "'")
这样就好了!