SyntaxFix
Write A Post
Hire A Developer
Questions
Try binding your DataGridView to the DefaultView of the DataTable:
DataGridView
DefaultView
DataTable
dataGridView1.DataSource = table.DefaultView;