title: Gridview DataSourceID with Multiple Datasources?
body: <p>I would like to display clickable news headlines.  But I'm having trouble pulling data from two datasources for a single GridView.  I'm trying to do this DataSourceID="SqlDataSource1, SqlDataSource2"  but that's not working.  Thanks in advance.</p>
  
  <pre><code>&lt;asp:GridView 
          ID="GridView1" runat="server" 
          AutoGenerateColumns="False" 
          DataSourceID="SqlDataSource1, SqlDataSource2" 
          &gt;   
         &lt;Columns&gt;
             &lt;asp:HyperLinkField  
              DataTextField = "NewsHeadline" 
              DataNavigateUrlFields="NewsURL"
            /&gt;
         &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  
  &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="
  &lt;%$ ConnectionStrings:ConnectionString1 %&gt;"
         ProviderName="&lt;%$ ConnectionStrings:ConnectionString1.ProviderName %&gt;" 
         SelectCommand="SELECT [NewsHeadline] FROM [NewsTable]"&gt;
     &lt;/asp:SqlDataSource&gt;
  
  &lt;asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="
  &lt;%$ ConnectionStrings:ConnectionString1 %&gt;"
         ProviderName="&lt;%$ ConnectionStrings:ConnectionString1.ProviderName %&gt;" 
         SelectCommand="SELECT [NewsURL] FROM [NewsTable]"&gt;
  &lt;/asp:SqlDataSource&gt;
  </code></pre>