Here is an example on MySQLInsertCommand 4 VB

2003-09-04
2003-12-14
  • Marc Seidler
    Marc Seidler
    2003-09-04

    Dim conn As MySQLConnection = New MySQLConnection(New MySQLConnectionString(pStrServer, pStrDatabase, "user", "password").AsString)
                conn.Open()

                Dim obj(,) As Object = {{"fieldname1", Trim$(Me.txtFieldValue1.Text)}, {"fieldname2", Trim$(Me.txtFieldValue2.Text)}}
                Dim inscmd As New MySQLInsertCommand(conn, obj, "tablename")

                conn.Close()

     

    • Anonymous
      2003-12-14

      Thank you, Im a vb.net programmer but not for c#...