I've got a grid that I need to sort by a column that refers to a related entity. I need to figure out the syntax to do this.
The above throws an argument exception: Input string was not in a correct format.Couldn't store in PAgents.AGNAME Column. Expected type is Int32.
The grid is bound to an entity data source (defined below)
The two relevant data sources: