I'm binding this Entity framework query to a gridview and is ultra slow. The delay is on databinding. Any solution?
Using ctx As New DBEntities()
Dim PROC= (From p In context.Table.Include("RELATION") _ Where p.KEY= 1 _ Select p).First()
Dim q1 = From r In PROC.relation _ Select New With { _ r.key, _ r.field}
grdView.DataSource = q1 grdView.DataBind()