C# Tutorial - Advanced Filter DataGridView | FoxLearn

Sdílet
Vložit
  • čas přidán 22. 10. 2016
  • Filter datagridview by columns in c# using Advanced DataGridView is a .NET WinForm DataGridView with advanced Filtering and Sorting capabilities
    The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language. This is the best way to Learn C# for beginners
    Website: foxlearn.com
    Advanced DataGridView with Excel-like auto filter
    advanced datagridview.dll download support c# datagridview filter multiple columns or c# datagridview rowfilter
    advanced datagridview documentation helps you filter rows datagridview c# using advanced datagridview (ADGV) filter

Komentáře • 87

  • @cyberplayer28
    @cyberplayer28 Před 3 lety

    Awesome!

  • @capitananubis9458
    @capitananubis9458 Před 3 lety

    Thanks you, this video help me a lot.

  • @erikbanik2384
    @erikbanik2384 Před 4 lety

    Thank you for this video! :-)

    • @foxlearn
      @foxlearn  Před 4 lety +1

      You're welcome. Thank you !

  • @shahriyarkouravand849
    @shahriyarkouravand849 Před 4 lety

    Thanks for the very nice description 👍

    • @foxlearn
      @foxlearn  Před 4 lety

      You're welcome. Thank you !

  • @gholamsoori3595
    @gholamsoori3595 Před 5 lety +1

    Perfect tutorial. Deeply appreciated. I used framework and I binded dataset to adgv and it works as i expected. I'm wondering if you could post a tutorial regarding 'adgv with search Toolbar'

    • @foxlearn
      @foxlearn  Před 5 lety +1

      OK. Thank you for your suggestion !

  • @TheNefelin
    @TheNefelin Před 5 lety

    thank you soooo much!!!!!

    • @foxlearn
      @foxlearn  Před 5 lety

      You're welcome. Thank yo you !

  • @laxmancherukuri8508
    @laxmancherukuri8508 Před 3 lety

    Thank you so much !

  • @MyAtilgan
    @MyAtilgan Před 7 lety

    Hello, im taking the data from an excel file. İm not using an sql con. I try to doing the same things in the tutorial. Bu i dont have the "sort" and "filter" options. Whats the correct approach in this situation? Thank you.

  • @Mutues
    @Mutues Před 7 lety

    thank you :)

    • @foxlearn
      @foxlearn  Před 7 lety

      You're welcome & Thanks :)

  • @zkieqrst
    @zkieqrst Před rokem

    thank you po

  • @vasyafoonken5382
    @vasyafoonken5382 Před 7 lety

    Nice!!!!

  • @2minutes2postllc95
    @2minutes2postllc95 Před 4 lety +2

    I am binding my AVDG to a class as my data source, all data loads fine. Unable to sort or filter. Any suggestions?

  • @KhoaNguyen-cy9nd
    @KhoaNguyen-cy9nd Před 7 lety +1

    great tutorial man (y), but can i use advanced filter datagridview with entity framework, like datagridview get datasource from a stored procedure in entity, so how can can i use the sort string changed and filter string changed event?

    • @mendyaaron6695
      @mendyaaron6695 Před 5 lety

      create a binding source and bind it instead of just attaching to datasource. Like this:
      SqlDataAdapter adapter = new SqlDataAdapter(query, connection);
      DataTable table = new DataTable();
      adapter.Fill(table);
      bindingSource1 = new BindingSource();
      DataGridView1.DataSource = bindingSource1;

  • @Jeshhafterhours
    @Jeshhafterhours Před 2 lety

    How to do datagridview filter with the list of values I have in a Dictionary?

  • @masoodsindy1503
    @masoodsindy1503 Před 7 lety

    hi how conver heder combo list from semple or text

  • @lucayan7982
    @lucayan7982 Před 3 lety +1

    does someone know if it's possible to do in visual basic?

  • @emreergun1602
    @emreergun1602 Před 5 lety +1

    Teşekkürler bro

  • @thanhhienle843
    @thanhhienle843 Před 7 lety +1

    Thanks pro, but i followed your steps. While click filter it notify "Sort string contains a property that is not in the IBindingList." ? Help me !

  • @mustafakenany1310
    @mustafakenany1310 Před 6 lety

    how can I group by Columns

  • @mikecruise2126
    @mikecruise2126 Před 6 lety

    This is a rather nice voice! i wonder what kind of machine voice you are using, can you tell me? thanks a lot

    • @foxlearn
      @foxlearn  Před 6 lety

      I'm using natural text to speech. Thank you

  • @thomasf433
    @thomasf433 Před 7 lety

    Hello, great Tutorial - thanks. I use Entity Framework and I bind the datasource directly to the ADGV. But the the sorting and filtering not working. Can you help me please?

    • @foxlearn
      @foxlearn  Před 7 lety +1

      Hi, Entity Framework don't support databinding, so can't filter or sort data. thanks

    • @katrykonig2466
      @katrykonig2466 Před 3 lety

      @@foxlearn lol 😄😄😄

  • @dyeigo007
    @dyeigo007 Před 2 lety

    HI, my program is close the first time that begin, this issue not show message of the error only reset and continue work. can you help me?

  • @kierabdul6173
    @kierabdul6173 Před 5 lety

    Hello, can you please use php mysql xampp server for the advance datagridview and without using databinding. thank you. I'll wait for your response

  • @erikbanik2384
    @erikbanik2384 Před 4 lety

    Can you advise me, please, how I can display image in picture box using this Advanced DataGridView? :-)

    • @foxlearn
      @foxlearn  Před 4 lety

      Let me try to research, thank you for your suggestion

  • @ahmedkhudhair2281
    @ahmedkhudhair2281 Před 7 lety +3

    Dear Sir,
    I followed your steps but I facing an issue when I want to filter I can't.
    for example, if I want to filter by ID and choose just ID: 1 it's not filtering.
    Best Regards

  • @petermbugua54
    @petermbugua54 Před 7 lety

    kindly assist me i have been stuck for days,show me how to pass datagridview items from one form to another datagridview where the main form is still open and multiple rows.take a sinario where one form is used for searching the items to be passed to the main form.

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, I think it similar this video czcams.com/video/3Vum8uhzLNc/video.html . thanks

  • @annduril
    @annduril Před 7 lety

    Why my Id Column initialice unsorted, It doesnt begin in 1, begins in 40, I have to sorted manually in the dropdown menu.

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, You can sort your id column from your table, please try again. Thanks

  • @sanjeevsuman3620
    @sanjeevsuman3620 Před 4 lety

    Hi Sir, How to sort and filtering using for loop in DataGridView ,You have soring using binding data source. pls suggest me.

    • @foxlearn
      @foxlearn  Před 4 lety

      You should use bindingsource to filter and sort data. don't use loop. It's not a good idea

    • @sanjeevsuman3620
      @sanjeevsuman3620 Před 4 lety

      @@foxlearn thanks

  • @swerytv4342
    @swerytv4342 Před 7 lety

    Hi LUCY I AM VERY HAPPY TO LEARN THAT SO I WANT TO KNOW HOW DO ONE DO WITH THE MULTIPLE DOWNLOAD WITH WITH APP CZcams DOWNLOAD

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, You should put all link into a list, then you can use foreach to download more links. thanks

  • @auxein2992
    @auxein2992 Před 4 lety

    Please tell me how to use the filter without direct bind, using program SQL datatable & adapter & set

    • @foxlearn
      @foxlearn  Před 4 lety

      OK. Thank you for your suggestion. I'll upload soon !

    • @meomotv3740
      @meomotv3740 Před 3 lety

      Here is source if you need:
      BindingSource bs = new BindingSource();
      bs.DataSource = dgvOfyou.DataSource;
      bs.Sort = dgvOfyou.SortString;
      dgvOfyou.DataSource = bs.DataSource;

  • @BloopersVlog69
    @BloopersVlog69 Před 20 dny

    How to connect online database.

  • @jed9205
    @jed9205 Před 3 lety

    my Clear filter is disabled why?

  • @MrMohamedbarakat
    @MrMohamedbarakat Před 7 lety

    1st Comment

  • @ilyashtefan7985
    @ilyashtefan7985 Před 5 lety +1

    How to use it with custom DataTable? Without Binding Source?

    • @foxlearn
      @foxlearn  Před 5 lety

      OK. Thank you for your suggestion !

    • @mahatech5718
      @mahatech5718 Před 5 lety

      Did you find how ? i need it too :(

    • @arkhej
      @arkhej Před 5 lety +1

      I'm using a data table. Here you are my code:
      private void gvResultados_SortStringChanged(object sender, EventArgs e)
      {
      BindingSource bs = new BindingSource();
      bs.DataSource = gvResultados.DataSource;
      bs.Sort = gvResultados.SortString;
      gvResultados.DataSource = bs.DataSource;
      }
      private void gvResultados_FilterStringChanged(object sender, EventArgs e)
      {
      BindingSource bs = new BindingSource();
      bs.DataSource = gvResultados.DataSource;
      bs.Filter = gvResultados.FilterString;
      gvResultados.DataSource = bs.DataSource;
      }

  • @lolipop6897
    @lolipop6897 Před 3 lety

    Is there a way to sort datetime with this adgv?

  • @Jmontero1804
    @Jmontero1804 Před 7 lety

    is possible traslate the Advanced Filter DataGridView filter options to spanish?

    • @foxlearn
      @foxlearn  Před 7 lety

      I'm not sure, but you can try, i think it works

    • @Jmontero1804
      @Jmontero1804 Před 7 lety

      but how open the dll? have a source?

    • @foxlearn
      @foxlearn  Před 7 lety

      Hi, You can download at adgv.codeplex.com/ Thank you

  • @akankshachandra2903
    @akankshachandra2903 Před 4 lety

    Hi, how can i apply this filter for all column except one column?

    • @foxlearn
      @foxlearn  Před 4 lety

      Let me try to research

    • @scottwood4955
      @scottwood4955 Před 2 lety

      @@foxlearn Hi, I'm also interested in learning how to modify the advanced datagridview column filters. I'd like to be able to configure the filters to react to the dropdown arrow, as opposed to automatically filtering out a row when I change a cell value to something outside the current filter.

  • @JokerZipon
    @JokerZipon Před 7 lety

    Отличный фильтр, теперь не нужно будет париться на счет строки поиска. Но вот только плохо, что дизайн это DataGridView не такой красивый как, у MetroGrid (MetroModernUI)

    • @foxlearn
      @foxlearn  Před 7 lety

      Yes. that's right. i'll try to integrate into MetroGridView. thank you

  • @waleedahmad2477
    @waleedahmad2477 Před 7 lety

    How to bind datagrid view with my sql wamp

    • @foxlearn
      @foxlearn  Před 7 lety +1

      Hi, Connect to mysql on wamp server then you can bind data to datagridview. I'll update soon

    • @waleedahmad2477
      @waleedahmad2477 Před 7 lety

      thanks

  • @BhAvAnAPaTiL
    @BhAvAnAPaTiL Před 4 lety

    how to filter on multiple columns???

    • @foxlearn
      @foxlearn  Před 4 lety

      OK. Thank you for your suggestion. I'll upload soon !

  • @Anton-kh9bj
    @Anton-kh9bj Před 3 lety

    Is there any actual similar solution since ADGV has been deprecated and no longer works?

  • @bestdynamicfitness
    @bestdynamicfitness Před 5 lety

    Entity Framework Not work Why?

    • @foxlearn
      @foxlearn  Před 5 lety

      I think it don't support, you should implement binding

  • @muratyapici9654
    @muratyapici9654 Před 5 lety

    How do I change the language?

  • @saraelboukai7037
    @saraelboukai7037 Před 2 lety

    is it for free

  • @thanhhienle843
    @thanhhienle843 Před 7 lety +1

    Thanks pro, but i followed your steps. While click filter it notify "Sort string contains a property that is not in the IBindingList." ? Help me !

    • @carlosferreira4156
      @carlosferreira4156 Před 5 lety

      Hi, Did you found a solution? I have the same problem. Thank you.