The same way you would load data from a database into a datagrid using an n-tier architecture. Nobody said that the data layer needs to be backed by a relational database. The data layer could be flat file, a delimited file, XML, JSON, NoSQL, a network pipe, etc.