Dear,
private void GridPlanCuentas_SortStringChanged(object sender, EventArgs e) { this.cNTBPlanCuentaBindingSource.Sort = this.GridPlanCuentas.SortString; }
private void GridPlanCuentas_FilterStringChanged(object sender, EventArgs e) { this.cNTBPlanCuentaBindingSource.Filter = this.GridPlanCuentas.FilterString; }
private void cNTBPlanCuentaBindingSource_ListChanged(object sender, ListChangedEventArgs e) { lbltotal.Text = string.Format("Total rows: {0}", this.cNTBPlanCuentaBindingSource.List.Count); }
Whit this code COMPILAR appear doesn't exist any problem but when i use the advanced DataGridView any function of SORT, FILTER and COUNT ROWS works.
The name for the file whit the demo is Test AdavancedDataGridView.rar · 28.45 MB
https://www.dropbox.com/sh/tapl247sfk6o72d/AABUOXosXUZUdWe4Ykv-kf86a?dl=0
The next link is an example that i found in youtube thats what im trying to do.
https://www.youtube.com/watch?v=RaZeeHRRCGA