MySQL VB.NET Tutorial 6 : Insert/Save data to database

Поділитися
Вставка
  • Опубліковано 31 жов 2024
  • ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqc...
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - www.codebind.com
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
    How to: Insert New Records into a Database
    Database Access with Visual VB.NET.NET
    sql server - Insert Data into database in VB.NET
    How to insert Data to Ms SQL server 2008 using VB.NET.net
    .net - VB.NET insert data into SQL table
    Using Visual VB.NET and SQL cannot insert data into table..‎
    VB.NET import data from text file into sql databse line by line‎
    store xml in SQL Server 2008 from VB.NET‎
    Using SQL in VB.NET - Cannot insert data into SQL table
    visual VB.NET - Could not Insert the data using V VB.NET in MYSQl
    Add, save & retrieve data in SQL
    insert data in sql 2005 from excel file through VB.NET asp.net‎
    insert data into SQL table from pre filled boxes in VB.NET 4.0‎
    insert into database unsing ado.net and VB.NET Visual Basic
    Insert DateTime into SQL Server using VB.NET Visual Basic
    Searches related to VB.NET insert data into sql Visual Basic
    VB.NET insert data into sql table Visual Basic
    VB.NET insert data into sql server Visual Basic
    inserting data into sql table Visual Basic
    insert query VB.NET
    sql insert statement from another table

КОМЕНТАРІ • 76

  • @masoodmd6727
    @masoodmd6727 10 років тому +6

    Excellent videos about database, would greatly appreciate if you could share some of your knowledge in how to insert/ update/ delete data in the relational database with SQL stored procedure and vb.net
    thanks in advance

  • @jamilnoor1
    @jamilnoor1 9 років тому +1

    Helped me complete my computing coursework. Thanks!

    • @BenG0
      @BenG0 9 років тому +1

      +jamilnoor1 was this aqa comp 4?

    • @jamilnoor1
      @jamilnoor1 9 років тому +1

      +Benan Gokcimen yh it was. The reason I didn't fail it.

  • @salwahamim531
    @salwahamim531 Рік тому

    Thank you so much, it helped me lots!

  • @danfiliphoff
    @danfiliphoff 2 роки тому

    This entire series is amazing, thank you so much!

  • @princejunior8078
    @princejunior8078 2 роки тому

    Thanks very much, buddy! Good work done .

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  10 років тому

    • @nanagotham1590
      @nanagotham1590 9 років тому

      ProgrammingKnowledge If i was to make a Quiz for students, how could i save them within a database within their classes within a listbox?

  • @markalonzo7181
    @markalonzo7181 7 років тому

    providing source code in the LINK description much better. Thank you for this

  • @didipepple3665
    @didipepple3665 8 років тому

    Hello.....straight forward video thumbs up.....i've got a quick question "How do you save a date to a database? considering a date picker is used on the form and the data type on the database is date"

  • @aboutTechPH
    @aboutTechPH 6 місяців тому

    Sir - could you add picturebox and insert on mysql, please make tutorial . Thank you so much - this was very helpful as self study - i cant see any tutorial, i always see cmd.add.parameter , i think yours is shortcut and i like it.

  • @2051joha
    @2051joha 8 років тому

    it was very helpfull, but you have to change in the database primary Key away, otherwise it cause an Error Message, and you see the ne data Entry first, after update database. For those who have same Problems like me. Otherwise, it was quit helfpfull, thx.

  • @davidcrosland4336
    @davidcrosland4336 8 років тому +24

    Set the speed of the video to 1.5 - You're all welcome

    • @AzeUnkn0wn
      @AzeUnkn0wn 8 років тому

      +David Crosland the solution for my problems in YT tutorial videos.. :D

    • @StrikerJonny
      @StrikerJonny 8 років тому

      i have to agree, but after i drink one energy drink or coffee i can watch the video with the speed of 2 :D

    • @freddo9682
      @freddo9682 6 років тому +1

      This is 2 years old but still useful xd

  • @Iarksys
    @Iarksys 9 років тому

    Thank you very much ... very helpful video.

  • @patrickkyle9502
    @patrickkyle9502 4 роки тому

    What a legend, big help my dude thanks

  • @bigfatcat6051
    @bigfatcat6051 6 років тому

    ITS VERY HELPFULL.. THANKYOU SO MUCH..

  • @qeyse
    @qeyse 10 років тому +1

    Nice video, really helped me!

  • @techmapsit
    @techmapsit 8 років тому

    nice work

  • @putrachaniago5147
    @putrachaniago5147 4 роки тому

    Thanks..

  • @kasspadaplin1784
    @kasspadaplin1784 6 років тому

    Thank you for this Tutorial! great help :)

  • @catchingair9356
    @catchingair9356 7 років тому

    Thank you so much for this!!!

  • @jedaiski12
    @jedaiski12 6 років тому

    thank you so much bro

  • @thehappymoments.
    @thehappymoments. 7 років тому

    Thank you so much Ireally appreciate this

  • @fatmarazahussein4345
    @fatmarazahussein4345 6 років тому

    Thank you. Amazing tutorials. Really helping!

    • @conradjohnathan7236
      @conradjohnathan7236 3 роки тому

      i guess I am pretty off topic but do anyone know a good site to stream newly released series online ?

    • @christianruben2387
      @christianruben2387 3 роки тому

      @Conrad Johnathan Flixportal :)

    • @conradjohnathan7236
      @conradjohnathan7236 3 роки тому

      @Christian Ruben thanks, signed up and it seems like a nice service :) I really appreciate it!!

    • @christianruben2387
      @christianruben2387 3 роки тому

      @Conrad Johnathan happy to help =)

  • @childrenworld6992
    @childrenworld6992 4 роки тому

    Mst

  • @AzeUnkn0wn
    @AzeUnkn0wn 8 років тому +1

    Please start from scratch, don't copy - paste - and edit. don't be a lazy tutor. anyway, thanks for the tutorial.
    I don't mind bout that copy paste thing, but some newbies can't follow well.

  • @davidshonlegaspi340
    @davidshonlegaspi340 8 років тому

    sir can you give the code validation of same entry duplicated which is they not longer to allowed to save in database ???

  • @charlesjosefhermosura9513
    @charlesjosefhermosura9513 7 років тому

    hey Sir what about Combobox how can I adopt with the codes because it only for textbox?

  • @sploitbasemaker4774
    @sploitbasemaker4774 6 років тому

    So could I use this as a Signup Page for your MySQL login page?

  • @joaovictorpulheissierra9784
    @joaovictorpulheissierra9784 10 років тому

    Thanks for the video :D

  • @tickled007
    @tickled007 10 років тому

    thankyou this worked! :)

  • @lukejasonebenitez1817
    @lukejasonebenitez1817 8 років тому

    Hi,Im getting an error when i tried to use this code'Mysql.data.mysqlclient.myslqexeption' occured in mysql.data.dllPlease helpThanks

  • @joshlim8595
    @joshlim8595 9 років тому

    ProgrammingKnowledge So far this only allows us to work offline (localhost). How if the application is started on another PC? What do we need to do?

  • @oluwatobikareem1444
    @oluwatobikareem1444 9 років тому +1

    hello, its a great video but please i got a message that says "host 'my computername' is not allowed to connect to this MYSQL server" but the login works fine if i'd manually inserted data into the wamp server phpmyadmin.... how do i go about this please? thanks in anticipation forthe urgent response.

    • @ShawnCoxRI
      @ShawnCoxRI 9 років тому

      Oluwatobi Kareem I think you might need to add your IP address to the list of allowed connections of the web server in question. Hard to understand exactly what you mean. Not sure if you are trying to connect to localhost and getting this problem? Either way I think MySQL is default set to filter remote connections by IP, need to add yours to its list through your pages control panel. I had to do this on my page hosted by GoDaddy, to enable me to make an EXE to manage my database. You can also use the MySQL Workbench, its under Users and Privilages, select the username and modify hostnames that it allows to connect. Wildcards can be used to specify dynamics.

  • @escolacancaoevida2955
    @escolacancaoevida2955 6 років тому

    boa tarde, como faria para inserir e pegar imagem nesse mesmo banco mysql teria como incluir nesses exemplos???

  • @abicherushots
    @abicherushots 10 років тому

    realy helpfull

  • @edjanlorenzosa5747
    @edjanlorenzosa5747 6 років тому

    can you give us a tutorial on how to create exe with database (MySql Database) in vb.net .. ?

  • @swapsoftnic7477
    @swapsoftnic7477 9 років тому

    i want to store a image in database and i want to search it form the database and display it plz call u tell me... i want it plz....

  • @eyyydeepee2278
    @eyyydeepee2278 8 років тому

    ExecuteReader is not member of string. HELP!

  • @abdomar0528
    @abdomar0528 7 років тому

    halfway through the video, it sounded like you were zapped by aliens 9:08

  • @muhammadzubair8019
    @muhammadzubair8019 7 років тому

    sir how you create a form within a form ?

  • @taskched7671
    @taskched7671 9 років тому +1

    Thanks!

  • @amitsaini1901
    @amitsaini1901 9 років тому

    What about in case of a local database ?

  • @lorenzogarcia7883
    @lorenzogarcia7883 9 років тому

    how to save a large file inside the mysql database? for example a 20mb mp4 or 50mb of rar format. please make a video of it thanks

  • @asopusa4260
    @asopusa4260 9 років тому

    "there is no row at position -1". Help please.

  • @pacisnatz
    @pacisnatz 9 років тому +2

    Got a problem at line 1 ? help

    • @taskched7671
      @taskched7671 9 років тому +2

      mude "vales" para "values"

    • @daisyreodique9420
      @daisyreodique9420 7 років тому

      maybe your server is not updated or it is not compatible with your version of your vb

  • @lightningngimus9274
    @lightningngimus9274 9 років тому

    You rock

  • @AB-gq6pp
    @AB-gq6pp 9 років тому

    hi there can you help me
    i have a workgroup with 2 guys in university the workgroup is
    -create database with mysql in contain for exemple:creat datatable to provision the right quantity by using wilson way or organisation the ordre fabrication by using method MRP (this two way is using in the management production)
    -create a grafique interface with visaul basic connect with mysql datbase to see datbase
    finallly sorry im i dont speak english very will thanks

  • @imranhossain4982
    @imranhossain4982 7 років тому

    how to database data save and view by visual basic program

  • @balthierspark382
    @balthierspark382 9 років тому

    hi, can you teach us about
    when the username and password are already taken please use other words

  • @marcobonomi8640
    @marcobonomi8640 5 років тому

    can you provide source code please?

  • @renzomiguelf.cristobal7229
    @renzomiguelf.cristobal7229 3 роки тому

    where is the sauce bro

  • @blakejanes6936
    @blakejanes6936 8 років тому

    *Use parameters in SQL!*
    Please put some kind of warning for your SQL queries! If you can't replace the video. This is just a bad coding bro. You are teaching people how to be vulnerable, wide open for attacks. That's scary sheit tho, if you are aware that people so easily can get the habit of doing something one - wrong way, not checking other sources. They'll keep doing it..
    Guys, use parameterized SQL queries. Look up why. Don't be lazy. Always double check the source of info!

  • @MuzafferPekmezci
    @MuzafferPekmezci 9 років тому

    Please Source Code

  • @unnamed5425
    @unnamed5425 6 років тому

    adapter.Fill(table) error ;p

  • @sethxtekken
    @sethxtekken 5 років тому

    im pro in this thing

    • @jeann677
      @jeann677 7 місяців тому

      Then help us

  • @ompyakurel7592
    @ompyakurel7592 7 років тому

    Good video, but "July" is not Julie and "Julie is not July".. better use Indian names, your program wont degrade by using nice Indian names.

  • @afinokta5156
    @afinokta5156 6 років тому

    may i know link for source code sir ? hehehe

  • @meghamisra5622
    @meghamisra5622 7 років тому

    Getting error (ExecuteReader requires the command to have a transaction when the Connection assigned to the command is in a pending local transaction. The transaction property of the command has not been initialized) Below is my code. Please let me know where I am doing wrong.
    Dim Conn As New SqlConnection("Data Source=XYZ;Initial Catalog=Production;Integrated Security=True")
    Dim cmd As New SqlCommand
    Dim Reader As SqlDataReader
    Public Sub btnCreate_Click(sender As Object, e As EventArgs) Handles btnCreate.Click
    Try
    Conn.Open()
    Dim InsertQuery As String = "INSTER INTO partdata (WorkorderID, PartNumber, Date, BaseDateCode, DateCodesequence)VALUES('" & txtworkorderID.Text & "','" & txtPartnumber.Text & "','" & DateTimePicker1.Text & "','" & txtdate.Text & "','" & txtdateSequence.Text & "')"
    Dim cmd As New SqlCommand(InsertQuery, Conn)
    Reader = cmd.ExecuteReader
    MessageBox.Show("Data Inserted")
    transaction.Commit()
    ExecuteQuery(InsertQuery)
    Conn.Close()
    Catch ex As Exception
    MsgBox(ex.Message)
    Finally
    Conn.Dispose()
    End Try
    End Sub

  • @SOYTMinecraft
    @SOYTMinecraft 6 років тому

    9:08 BOM

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  10 років тому +1

    • @mohammedel-kalache7765
      @mohammedel-kalache7765 9 років тому

      ProgrammingKnowledge Hello mate, i really appreciate your work. I've done exactly the same as you did, except that i use sql and not mysql. so i changed your "mysql" commands to "sql".
      The problem is, that i receive no build errors. but when i add the data, it says:
      Implicit conversion from data type varchar to varbinary is not allowed. use the CONVERT function to run this query.
      Can you please help me sir