Get the number of rows which contain a certain value in one of the columns and display the number in a label
<p>I have a gridview and sqldatasource.</p>

<p>I want to display in a label, the number of rows from the gridview which contains a certain value in one of the columns (in the <code>form_load</code> event)</p>

<p>I thought about looping through all columns of the gridview but it will take a lot of time for this and maybe there's another way of doing this.</p>

<p>Can someone help me finding the "other way"?</p>

<p>Thanks,</p>
