Pokušavam unjet podatke iz Textbox1 kojeg sam napravio na formi u aplikaciji, u Access bazu podataka.....neide Conection sam napravio..radi
Pokušavam sa:
Insert button
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim oOleDbCommand As New OleDbCommand("Insert into KORISNICI(Aktivnost)Values (@Textbox1)", oOleDbConection)
oInsertCommand.Parametars.Add (New OleDbClient.OledbParametar("@Textbox1" System.Data.OledbType.NVarChar,20,System.Data.ParameterDirection.Input, True, Ctype (0,Byte ),CType (0,Byte ),"Aktivnost", System.Data.DataRowVersion.Current, Nothing))
End Sub
HVALA unaprijed!!