public void DatasetRefreshAndPrintTitle(string title) //This can be called to refresh Grids from Syn Editor
{
RefreshGrids();
if (window != null)
window.Template = null; //19Mar2013 release the XAML object. ie obj is no more child of window.
if (cmd != null && title != null)//16May2013
SendToOutputWindow(title, cmd.CommandSyntax);
return;
}