title: How can I bind an entity Data Source to the results of a query
body: <p>I have a query that will go away an and find data </p>
  
  <pre><code> Dim HSNs As String = String.Join(",", ListOfHSNs.Cast(Of String)().ToArray())
  
  
  
          Dim query As String = "SELECT VALUE O FROM v_BillData AS O WHERE O.HSNumber IN {'" &amp; HSNs &amp; "'}"
  
  
  
          Dim hs As New ObjectQuery(Of v_BillData)(query, CType(Session("ObjectCon"), ObjectContext))
  </code></pre>
  
  <p>what I now wish to do is to use the results of this query to databind to a EntityDataSource
  How can I do this?</p>