VB.NET MYSQL INSERT #1 :How to save data into the MySQL database

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 5

  • @ralphlewis4350
    @ralphlewis4350 3 месяца назад +1

    Thank you so much for your teaching, very clear and concise. God bless you

  • @LocosSangre
    @LocosSangre Год назад +1

    Thank you for this one mate, you got me back to exploring basic crud after all that programming trauma n_n

  • @SurajKumar-lg4gu
    @SurajKumar-lg4gu Год назад +1

    please make all crud operation video similarly like that

  • @deanm1424
    @deanm1424 7 месяцев назад +1

    This was fantastic however your TRY CATCH needs to be improved as follows
    Try
    Dim sql As String = "INSERT INTO rippingresults (UID,RipPath,StartTime,FinishTime,Result) VALUES (NULL,'PATH','2024-06-11 13:27:59.000000','2024-06-11 14:27:59.000000','0')"
    conn.Open()
    command = New MySqlCommand(sql, conn)
    reader = command.ExecuteReader
    Label1.Text = "SUCCESS"
    Catch ex As MySqlException
    MsgBox(ex.Message.ToString)
    Finally
    conn.Close()
    End Try
    you are missing a FINALLY command.