How do you filter the data in datagrid?

Answer Posted / sunil

RowFilter is a read/write property that gets and sets the
expression used to filter the table.

Eg: DataView dv = dt.DefaultView;
dv.RowFilter = "Country = 'USA'";

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain executenonquery?

558


Why do we need ado.net?

542


What do you know about ADO.NET's objects and methods?

520


What is connected architecture in ado.net?

524


What is the meaning of executenonquery?

538






What are the ado.net objects?

510


Explain ODP.net

571


What does executereader return?

525


What does adodb stand for?

508


How can we check that some changes have been made to dataset since it was loaded?

518


How do you implement locking concept for dataset?

543


How to add an aggregate column?

533


What is the current version of entity framework?

482


Which is the feature of ado.net?

526


What are advantages of microsoft-provided data provider classes in ado.net?

547