Add xaml dynamically in SideInfoGrid, and add some modifications and tests of SQL Query.