I am new to VB.Net and i want insert record database without Recordset object.
My old VB6 codes:
I trying this code in VB.Net but give this error:
execute' is not a member of 'system.data.sqlclient.sqlconnection'
How to insert my data without Adodb.Recordset object.
Thanks for help.
My old VB6 codes:
Code:
Set conn = CreateObject("ADODB.Connection")
conn.ConnectionString = "..........."
conn.open
conn.Execute ("insert into ........")
Quote:
execute' is not a member of 'system.data.sqlclient.sqlconnection'
Thanks for help.