Load Data From Excel to DataGridView in C# Windows Form Application

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • If you want to display data from excel to datagridview, this tutorial is for you. In this tutorial you can learn, How to load data form excel to datagridview in c# windows form application step by step.
    This is very easy to load data from excel file to datagridview usng c# code. To load data from excel to datagridview follow these steps.
    1. Design a windows form with button and datagridview control.
    2. Go to the button click event and write code to select excel file from your PC.
    3. Create a method to load data from excel file to datagridview.
    4. Call the method in button click event
    5. Debug and Test.
    ------
    This channel covers all the programming tutorial related with .Net- C#, linq, VB, SQL, Android, HTML, CSS, jQuery, Crystal Report and Microsoft Report.
    So, Please subscribe and keep in touch.
    / programminggeek
    Visit my page in Facebook
    / programminggeek7
    ------
    #programminggeek #LoadDataFromExceltoDataGridViewInCSharp #ReadDataDromExcelToDataGridView
    programminggeek, import data from excel to datagridview in c#, how to import data from excel to datagridview in c#, load data from excel to datagridview in c#, load data from excel to datagridview, read excel file in c#, how to read excel file in c# windows application

ความคิดเห็น • 11

  • @vorapobautomation9760
    @vorapobautomation9760 2 หลายเดือนก่อน +1

    How to load Data From Notepad (.CSV) to DataGridView in C# Windows Form Application ?

    • @ProgrammingGeek
      @ProgrammingGeek  หลายเดือนก่อน +1

      Will make such tutorial soon.

  • @ReinhardHoltz
    @ReinhardHoltz 6 หลายเดือนก่อน +1

    thanks for the explanations. pretty good. but when you music appears is quite shoking/annoying.

    • @ProgrammingGeek
      @ProgrammingGeek  6 หลายเดือนก่อน +1

      I will avoid music 🎶 in upcoming video.

  • @a6846-vda
    @a6846-vda 11 หลายเดือนก่อน

    System.InvalidOperationException: 'O fornecedor 'Microsoft.Ace.OLEDB.12.0' não está registado no computador local.'
    Can you resolve?

  • @chou5056
    @chou5056 6 หลายเดือนก่อน +1

    how do you export it to a sql file?

    • @ProgrammingGeek
      @ProgrammingGeek  3 หลายเดือนก่อน

      nice comment. i will try and let you know. thanks

  • @superpuper7565
    @superpuper7565 5 หลายเดือนก่อน

    THANK U!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @ProgrammingGeek
      @ProgrammingGeek  5 หลายเดือนก่อน

      My pleasure. Please keep connected.

  • @shengweiblue9003
    @shengweiblue9003 9 หลายเดือนก่อน

    string ext doesn't using