MySQL VB.NET Tutorial 12 : Show database values in Table or DataGridView

About this tutorial:

Video duration: 16:2
VB.NET – How to get user entered data from datagridview to windows Visual Basic
Insert, Update and Delete from DataGridView to sql server,MySql Sql database Visual Basic
Microsoft Visual VB.NETI Windows Controls The Data Grid View
VB.NET Tutorial – Binding a DataGridView to a Database
VB.NET – How to save datagridview records on database table
how can i use data grid view to update data in database using C
Delete in Datagridview and SQL database‎ Visual Basic
Save From datagridview to access database‎ Visual Basic
Update database from DataGridView‎ Visual Basic

Post Author:

Apple lover, ICT and LEAN consultant, MS Office lecturer My other website with video tutorials - Tutorials, guides and news for iPhones and iPads

27 thoughts on “MySQL VB.NET Tutorial 12 : Show database values in Table or DataGridView

    jerry lopez

    (August 11, 2018 - 1:53 pm)

    Hi good sir . Thank you so much about this tutorial . it help me so much .. I hope u dont stop uploading Videos.

    Atheist Apostate

    (August 11, 2018 - 1:53 pm)

    I keep getting an error "cannot find column"
    For my textbox used…
    ' Search Box for searching MICR Results

    Dim DV As New DataView(dbDataSet)
    DV.RowFilter = String.Format("CompanyName like '%{0}%'", TextBox21.Text)
    DataGridView1.DataSource = DV

    And "Dim dbDataSet As New DataTable" declared under Public Class Form 2 where the code is.

    I have my (Using SQLClient over MySql)


    (August 11, 2018 - 1:53 pm)

    It says that "The host localhost does not support SSL connections." Hellllllp

    Monique Noche

    (August 11, 2018 - 1:53 pm)

    My error is column count doesn't match value count at row 1.
    this is my code —-
    Query = "INSERT INTO sampledatabase.sampletable (id, name, place) values(' ', ' ', ' ');"

    is this correct? bec you didnt show the right side of the vids. Thank you

    Michael Taton

    (August 11, 2018 - 1:53 pm)

    can you load access mdb instead of sql sir?


    (August 11, 2018 - 1:53 pm)

    i try this code but my datagridview is not refreshing.. the table are duplicating.

    Joff Pascual

    (August 11, 2018 - 1:53 pm)

    hi ive just follow your code and after ive save my data in the database its duplicating may data in the table and for me to see the updated table i just need to click the load table button again. what should i do? thanks

    Nicolas Capistrano

    (August 11, 2018 - 1:53 pm)

    hi sir , i watched all your tutorials regarding this topic and somehow i am stuck at this problem when you click on load button theres an error says you cant connect to this mariadb server, can you please tell me how to solvee this

    Kumaresan Murugan

    (August 11, 2018 - 1:53 pm)

    thanks man really helpful . can you upload video, VB.NET WPF : How to Link ListBox and ComboBox with Database.?

    saketh k

    (August 11, 2018 - 1:53 pm)

    thanks for all the vedios. all are awsome, can you make the same using the sql server management studio instead of mysql that would be helpful even though most of the code looks the same


    (August 11, 2018 - 1:53 pm)

    proje source ?


    (August 11, 2018 - 1:53 pm)

    hi .. i'd follow the things you did but i've got this kind of error : the selectCommand property has not been initialized before calling 'FILL'.. Can you help me fix this error?! thank you very much in advance

    Abel Camilo Yi Martínez

    (August 11, 2018 - 1:53 pm)

    good!, but now, How can i delete multiple records?

    Cycloneaire Aire

    (August 11, 2018 - 1:53 pm)

    hey can you display it in another form ?? i mean create new form using codes only?? not adding using the toolbox and display there the data or record thanks in davance!!!


    (August 11, 2018 - 1:53 pm)

    Thank you very much.


    (August 11, 2018 - 1:53 pm)

    Thank u sir , can u tell me how to search exact value in datagridview

    Riaan Pretorius

    (August 11, 2018 - 1:53 pm)

    Hello there , foirst of all I would like to thank you for your help Could you please show me how to import date from MySQL to show in DATGRIDVIEW when selecting combox.

    Rey Praning

    (August 11, 2018 - 1:53 pm)

    tnx man.. 🙂

    Kenneth Paglinawan

    (August 11, 2018 - 1:53 pm)

    I am having duplicate value in mydatagridview anyone help!!


    (August 11, 2018 - 1:53 pm)

    Help me, Error at "Command = New MySqlCommand(Query, MysqlConn)

    Hared Meza

    (August 11, 2018 - 1:53 pm)

    Excellent man… It works great, thanks for explaining. Keep it up.

    Kumar Sanu

    (August 11, 2018 - 1:53 pm)

    if i have 2000 daya with image so datagrid view table shown all record in second?

    Manoj Kumar Ravidas

    (August 11, 2018 - 1:53 pm)

    sir how can see your previous video

    Buddhi Adhikari

    (August 11, 2018 - 1:53 pm)

    you pronounce "Data" in a funny way

    Twinkle Dawani

    (August 11, 2018 - 1:53 pm)

    I wrote this code but i am not getting any output please help me.

    Manash Sarma

    (August 11, 2018 - 1:53 pm)

    The video did not work my system

    Kiri Yu Suna

    (August 11, 2018 - 1:53 pm)

    Sir! How to view multiple tables? I have 3 tables and I want to view it individually in datagridview.. How do I do that? SIR PLEASE REPLY!

Leave a Reply

Your email address will not be published. Required fields are marked *