How to Connect MySQL Database in Visual Basic. Net - Full Tutorial

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

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

  • @unruly_ronin
    @unruly_ronin 2 года назад +1

    You're literally an Absolute lifesaver bro! Thanks sm for this. Made this work alot easier.
    All I need now is to figure out these references.

    • @DJOamen
      @DJOamen  2 года назад +1

      Glad I could help!

  • @AngelRod-nv9fd
    @AngelRod-nv9fd 2 года назад +1

    Been looking how to do this for 2 days now. Finnaly I learned how to do this. Thanks. Subsciribed and liked.

    • @DJOamen
      @DJOamen  2 года назад

      Glad it helped

  • @mdtmto
    @mdtmto 2 года назад +1

    Thanks a lot, Спасибо, все четко (everything is clear и (and) полной визуальной объяснениями (full visual explanations), мне очень помог этот видео (this video helped me a lot).

  • @virajbenade5572
    @virajbenade5572 2 года назад +1

    If you give short description about reset button click event then video is so amazing 🤩 by the way video is amazing I clearly understand database connectivity of my SQL thank lot....😌😌😌

    • @DJOamen
      @DJOamen  2 года назад

      Thank you so much 😁

  • @user-hf2cp2vp2i
    @user-hf2cp2vp2i Год назад

    Hello Oamen good day exceelnet video thanks for the hope.

    • @DJOamen
      @DJOamen  Год назад

      Thanks you, for your kind comment

  • @user-io5mw7kz9d
    @user-io5mw7kz9d Год назад

    very informative !! thank you very much sir

  • @Matt-zk9oi
    @Matt-zk9oi 3 года назад +1

    Thank you! This helped a lot.

    • @DJOamen
      @DJOamen  3 года назад

      Glad it helped!

  • @kenkike4470
    @kenkike4470 Год назад

    Great video and clear explanation sir, but my question is where did the e.keychar came from in the vb shows that its not a member of the event args

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

      In Visual Basic .NET, `e.KeyChar` is a property of the `KeyPressEventArgs` class. It represents the character that was pressed as a result of a keypress event. This property is often used in event handlers for keyboard-related events, such as the `KeyPress` event of a control like a `TextBox` or `KeyPress` event for a form.
      Here's a typical usage example:
      ```vb.net
      Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress
      ' Check if the key pressed is a digit (0-9)
      If Char.IsDigit(e.KeyChar) Then
      ' Allow the digit to be entered into the TextBox
      ' You can add additional logic here if needed
      Else
      ' Cancel the keypress event to prevent other characters from being entered
      e.Handled = True
      End If
      End Sub
      ```
      In this example, the `KeyPress` event of `TextBox1` is being handled. When a key is pressed in the `TextBox`, the `e.KeyChar` property contains the character associated with that key. The code checks if the character is a digit using `Char.IsDigit`, and if it is not a digit, it cancels the keypress event by setting `e.Handled` to `True`, preventing any other characters from being entered.
      You can use `e.KeyChar` to inspect and potentially modify the character entered in response to a keypress event.

  • @babeninelson6915
    @babeninelson6915 2 года назад

    You are a life saver man THANK YOU !
    🔥

    • @DJOamen
      @DJOamen  2 года назад

      Happy to help

  • @Ko_kB
    @Ko_kB Год назад

    Thanks... you're a life saver

    • @DJOamen
      @DJOamen  Год назад

      Glad to hear that!

  • @erdemcakmak
    @erdemcakmak Год назад

    Thank you :)

  • @realfate7621
    @realfate7621 2 года назад

    really great useful and abbreviated - thanks a lot

    • @DJOamen
      @DJOamen  2 года назад

      You are welcome!

  • @goldfield78
    @goldfield78 3 года назад

    Very useful, thank you sir.

    • @DJOamen
      @DJOamen  3 года назад

      You are welcome

  • @HARSHRANAYT
    @HARSHRANAYT 3 года назад +1

    though your dedication is nice, also it helped me a lot, but when i click add new button then the new database i.e. the added row is not showed in datagrid.

    • @DJOamen
      @DJOamen  3 года назад

      Check your code

    • @HARSHRANAYT
      @HARSHRANAYT 3 года назад +1

      @@DJOamen Sir I have multichecked also I have the same code but I am supposed to restart the application as of now.....

    • @HARSHRANAYT
      @HARSHRANAYT 3 года назад

      @@DJOamen Sir, thanks for your reply, I found a new solution and that worked correctly, Thanks sir for your tutorial I loved this tutorial and Python Tkinter's Restaurant Management System Tutorial Thanks Sir!

  • @rheyjosedelatorre6473
    @rheyjosedelatorre6473 Год назад

    Good day sir. DId the things you added in datagrid were actually saved in mysql database and can be seen in the database?

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

      Yes, it all saved on the database MySql

    • @rheyjosedelatorre6473
      @rheyjosedelatorre6473 Год назад

      @@DJOamen Thank you so much for the tutorial sir.👍

  • @umarfaroukahmad5017
    @umarfaroukahmad5017 2 года назад

    please will this tutorial work on Sql server management studio?

  • @ganiaaber4578
    @ganiaaber4578 2 года назад +1

    Please url in the project

  • @venkatkishore2331
    @venkatkishore2331 Год назад

    Sir I didn't save in the beggining my sql vb connector instead of that I saved windows app5 it showing error

    • @DJOamen
      @DJOamen  Год назад

      You have now learnt a valuable lesson, you must always save your project right at the beginning.

  • @albertschellenberg611
    @albertschellenberg611 2 года назад

    Which version of Visual Studio did you use?

    • @DJOamen
      @DJOamen  2 года назад

      Visual Studio 2019

  • @colenzjoachimcamero9019
    @colenzjoachimcamero9019 4 месяца назад

    Pls give me the code, I've been trying for many days and there are still mistakes 😭

    • @DJOamen
      @DJOamen  4 месяца назад

      Carefully watch the video tutorial, or become and Channel Members
      Channel Members can Download the Connect MySQL Database in Visual Basic. Net source code and modify it for their own personal use. Plus one other source code per month. Total - 2 Source codes Per Month, only:
      drive.google.com/file/d/1mhM-2uWqCu8nJFs3diPXyfjLv-tBFNKY/view?usp=sharing

  • @lucanwolfrl8044
    @lucanwolfrl8044 Год назад

    I don't have the apply button on the workbench app :

    • @DJOamen
      @DJOamen  Год назад

      Check the toolbox

  • @hibbansaeed9622
    @hibbansaeed9622 3 месяца назад

    project naam bta dena eska

    • @DJOamen
      @DJOamen  3 месяца назад

      How to Connect MySQL Database in Visual Basic. Net