Monday, December 19, 2011

How to get the filtered datasource query after pressing Ctrl +G


Question: How to get filtered query after using filter by grid option in grid

 Grid showing filter records                                           Grid showing complete list of records
                        
Answer: You can get the query which is created after providing filter criteria like this;

datasourceName.queryRun().query().datasourceNo(1).ToString();