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