gridview all rows count
<p>I want to retrieve all rows count of Gridview.</p>

<p>When  I try this </p>

<pre><code> GridView1.Rows.Count.ToString()
</code></pre>

<p>it returns only active page items count.</p>

<p>I m using generic list of my custom class as my GridView's data source . </p>

<p>How can I do this?</p>

<p>Thanks.</p>
