Hi,
For backwards compatiblity reason, EO.Web is built on top of .NET 2, not .NET 4. So it won't natively under Linq. However it is easy for you to use Linq to generate an array of more "traditional" objects and then pass that array of objects to the Grid's DataSource property:
https://www.essentialobjects.com/doc/web/grid/data_binding.aspxFor example, you can have an array of "Book" object:
Code: Visual Basic.NET
Public Class Book
Public Property Title As String
Public Property Publiser As String
End Class
Dim books = New Book(10) { initialize the books....}
You would then pass your books to the Grid's DataSource:
You would then use each GridColumn's DataField property to bind each column to a property. For example, you can set the any column's DataField to "Title" in order to display the book's Title in that column.
Hope this helps.
Thanks!