How to load CSV data in C# DataGridView (Code)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @dyantrimarchdianasari4885
    @dyantrimarchdianasari4885 3 ปีที่แล้ว

    thank you Gautam Mokal

  • @anushripatil1059
    @anushripatil1059 3 ปีที่แล้ว

    Hey nice content, I want to asked how to apply where condition in this to display only particular data from csv file

    • @gautammokal
      @gautammokal  3 ปีที่แล้ว +1

      I think you should import CSV data into C# objects and use LINQ to select only particular data and use as data source and bind it to data grid view. Here is the video to import CSV into objects.
      th-cam.com/video/UsQ4hYw1TMQ/w-d-xo.html
      Thanks for watching ...

    • @anushripatil1059
      @anushripatil1059 3 ปีที่แล้ว

      @@gautammokal Thank you 👍

    • @anushripatil1059
      @anushripatil1059 3 ปีที่แล้ว

      Hey Gautam can you suggest some code in given video code..to filter data by date using date picker.. please it will very helpful for me

  • @labiga5919
    @labiga5919 2 ปีที่แล้ว

    Hello, many thanks for this code that works very well. Btw I am not more able to filter by textbox. I can filter easily when I fill Datagridview from SQL database by using dgv_BindingSource.Filter = string.Format("name LIKE '%{0}%'", Textbox.Text); but if I fill datagridview from a csv file using this code I dont know a correct way to filter by textbox_TextChanged event....could someone help me pls on this? many thanks

  • @kavyahulyal4630
    @kavyahulyal4630 3 ปีที่แล้ว

    thank you

  • @jesicatorresperez2346
    @jesicatorresperez2346 3 ปีที่แล้ว

    codigo fuente

  • @kaveenmadusanka8461
    @kaveenmadusanka8461 4 ปีที่แล้ว

    Thanks