Adodc connection database, call the stored procedure to add data

zhaozj2021-02-16  135

When I use ADODC to connect to the database, call the stored procedure to add data when the data is wrong. "When the data is turned off, it is not allowed" Ask the master. "

code show as below:

Strinsert = "EXEC INSERT_DBTIM" & NVARSTATEID & ", '1', '" & NUMT & "', '" & Nump & ",'" & NUMF & ", '" & WR_TIME & "'" with adodc1. Record.Source = Strinsert .refresh

End with

DataGrid1.rebind

转载请注明原文地址:https://www.9cbs.com/read-8734.html

New Post(0)