Files to look at:

How to bind GridView to XPO in Server Mode

[Run Online]

The example demonstrates how to bind the GridView extension to a LINQ to XPO data source using the GridViewExtension.BindToLINQ method.

See also:
Provide with GridView extension method to bind it to XPO in Server Mode
How to use XPO in an ASP.NET MVC application