public static void ShowTable(String sql) { FormDataGrid_Cmd fg = new FormDataGrid_Cmd(new iSqlCmdFormGrid(ESData.GetInst.GetAdapter(), ESData.GetInst.GetCommand(sql), null, null, null), ESData.GetInst.dict, forms.BindingListOptions.AllPri); fg.MdiParent = Pub.cfg.curr_userinfo.MainForm; fg.Text = "(ReadOnly)" + sql; fg.Show(); }