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();

No comments:

Post a Comment

I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...