//16Jul2015 only refreshes datagrid public void RefreshGrids(List <string> sortcolnames = null, string sortorder = null)//16May2013 //This can/may be called to refresh Grids from App Main window { PreExecuteSub(); if (ds != null)//19Mar2013 { IUnityContainer container = LifetimeService.Instance.Container; IDataService service = container.Resolve <IDataService>(); ds = service.Refresh(ds); if (ds != null) { UIController.sortcolnames = sortcolnames; //11Apr2014 UIController.sortorder = sortorder; //14Apr2014 UIController.RefreshGrids(ds); } } }