public void RefreshBothGrids(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.RefreshBothGrids(ds);
}
}
}