hello i've a problem. i've this code:
Public conecion As New OleDbConnection
Public command As New OleDbCommand
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
conecion.ConnectionString = "data source=d:\sog-net\principal\data\general.dbc ; provider=vfpoledb.1"
conecion.Open()
command.Connection = conecion
command.CommandText = "insert into backup (id,descr) values (2,'danny');"
command.ExecuteNonQuery()
conecion.Close()
end sub
but i tr execute that show this problem :
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
this message show in command.executenonquery()
how i make to resolve that problem, thak'u
Daniel Vargas.
MCP - Microsoft Certified Professional
"El callar y escuchar es cosa de sabios por ello nuestro grito nace de silencio consciente fuerte y elocuente... vivir de manera diferente es morir siendo libre"
Elkin Ramirez-Kraken
My Blog