Modified DataGrid for fixing getting primary key of SQL by first column name after SELECT statment.