asp.net C# how to check wether whereparameters of a entitydatasource returns 0 rows
<p>I have a entitiydatasource: </p>

<pre><code>&lt;asp:EntityDataSource ID="EntityDataSourcePersoneel"
            runat="server"
            ConnectionString="name=HotelTestDatabaseEntities"
            DefaultContainerName="HotelTestDatabaseEntities"
            EntitySetName="Personeels"
            Include="Afdeling"&gt;
   &lt;/asp:EntityDataSource&gt;
</code></pre>

<p>where i dynamically put these whereparameters:</p>

<pre><code>EntityDataSourcePersoneel.WhereParameters.Clear();
   EntityDataSourcePersoneel.AutoGenerateWhereClause = true;
   EntityDataSourcePersoneel.WhereParameters.Add("personeelID", TypeCode.Int32  
   personeelId.ToString());
</code></pre>

<p>How can i Check if the whereparemeters returns 0 rows(nothing)..</p>

<p>Oh yeah if my code is wrong please help and advice me.. Thanks!</p>
