Ciao ho una classe che tramite un dataadapter e successivamente dei dataCOmmand (Chiaramente OleDb) fanno tutte le operazioni a me necessarie sul DB.
Ora perchè il codice scorre correttamente, senza errori ma nel DB non mi mette nulla ??codice:Dim ADP As New OleDbDataAdapter("SELECT * FROM GL400.HCTR00F", CN) Dim CMD As New OleDbCommand Dim DS As New DataSet 'insert If type = OleOperation.Insert Then CMD.CommandText = iSQL CMD.CommandTimeout = 20 CMD.Connection = CN End If With CMD.Parameters .Add(New OleDbParameter("HCODE", Me.txtCode.Text)) ... ... ADP.InsertCommand = CMD ADP.Fill(DS)


Rispondi quotando
