ajaybc
Youngling
I have made a database in oracle with the fields Name and marks.
Iam making a frontend program in VB6 for inputting values into it.
But it is VB is showing syntax error.Please help
Iam making a frontend program in VB6 for inputting values into it.
But it is VB is showing syntax error.Please help
Dim cn As New ADODB.Connection
Private Sub cmdAdd_Click()
cn.Execute "INSERT INTO MARKLIST(NAME,MARKS) VALUES('"txtNAME.Text"',"txtMarks.text")"
End Sub
Private Sub Form_Load()
cn.ConnectionString = "Provider=MSDAORA.1;Password=ajaybc;User ID=SYSTEM;Data Source=VIRTUALAJAY;Persist Security Info=True"
cn.Open
End Sub