Click here to Skip to main content
15,917,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I want to filter the Blanks in Datatable using Dataview.RowFilter.
How can i do this?

I have blanks in datatable. i want to filter the blanks alone in the datatable using RowFilter.
Posted

1 solution

As you have not mentioned the DataTable structure but you can do it this way:

DataTable.DefaultView.RowFilter = "Value IS NOT NULL"


Note: Value is a column name in the datatable.

Hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900