数据的输入问题
我在一个窗体里,一个按钮用两个ADODC向两张表里输入信息,可以吗 --------------------编程问答-------------------- 可以 --------------------编程问答-------------------- 怎样实现啊 --------------------编程问答-------------------- 1个是怎么实现的? --------------------编程问答-------------------- strsql = "insert into wzxx values('" + Text2.Text + "','" + Text3.Text + "','" + Text4.Text + "','" + Text5.Text + "','" + Text6.Text + "')"Adodc1.Recordset.ActiveConnection.Execute = strsql
Adodc1.Refresh --------------------编程问答-------------------- 和一个的用法一样啊,再加一个就是 --------------------编程问答-------------------- 它一直报错啊 --------------------编程问答-------------------- 怎么解决啊,跪求 --------------------编程问答-------------------- strsql = "insert into wzxx values('" + Text2.Text + "','" + Text3.Text + "','" + Text4.Text + "','" + Text5.Text + "','" + Text6.Text + "')"
Adodc1.Recordset.ActiveConnection.Execute = strsql
Adodc1.Refresh
strsql = "insert into wzxx2 values('" + Text2.Text + "','" + Text3.Text + "','" + Text4.Text + "','" + Text5.Text + "','" + Text6.Text + "')"
Adodc2.Recordset.ActiveConnection.Execute = strsql
Adodc2.Refresh --------------------编程问答--------------------
贴代码
补充:VB , 数据库(包含打印,安装,报表)