<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Total RowCount from GridView using AspDataSource</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Total RowCount from GridView using AspDataSource</description>
  <pubDate>Thu, 11 Jun 2026 03:06:43 -700</pubDate>
  <lastBuildDate>Fri, 06 Jun 2008 08:45:27 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=825</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Total RowCount from GridView using AspDataSource : Why don&amp;#039;t you just execute...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3038#3038</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 825<br /><strong>Posted:</strong> 06-Jun-2008 at 8:45am<br /><br />Why don't you just execute the same code again.&nbsp; Since I suspect that the entities are already cached, it shouldn't take very long.]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 08:45:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3038#3038</guid>
  </item> 
  <item>
   <title>Total RowCount from GridView using AspDataSource : I had tried what you suggested...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3030#3030</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=326" rel="nofollow">kmg-pm</a><br /><strong>Subject:</strong> 825<br /><strong>Posted:</strong> 04-Jun-2008 at 12:30pm<br /><br /><DIV>I had tried what you suggested previously, but had some trouble.</DIV><DIV>&nbsp;</DIV><DIV>I have&nbsp;the SelectEntities&nbsp;method in my custom&nbsp;EntityAdapterManager class.&nbsp;&nbsp; I had created a public property containing the count, and I was setting it in&nbsp;SelectEntities.&nbsp; Then I tried using the GetAdapterManager method to access this property, but it didn't seem tied to the same instance of&nbsp;my AdapterManager as the EntityQuery was run in.&nbsp; How could I reference that&nbsp;particular instance?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Kevin</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 12:30:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3030#3030</guid>
  </item> 
  <item>
   <title>Total RowCount from GridView using AspDataSource : I wouldn&amp;#039;t worry about the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3028#3028</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 825<br /><strong>Posted:</strong> 04-Jun-2008 at 12:06pm<br /><br /><DIV>I wouldn't worry about the cost of getting all of the entities of a given entity type because these entities will likely already be in the cache so performance should be very good.&nbsp; If you want to, you could also store&nbsp;the total entity count&nbsp;somewhere as a byproduct of performing SelectEntities.</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 12:06:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3028#3028</guid>
  </item> 
  <item>
   <title>Total RowCount from GridView using AspDataSource : Hello,  I have an ASP.NET standard...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3027#3027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=326" rel="nofollow">kmg-pm</a><br /><strong>Subject:</strong> 825<br /><strong>Posted:</strong> 04-Jun-2008 at 9:30am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I have an ASP.NET standard GridView bound to an AspDataSource.&nbsp; I want to retrieve the total row count from the data source.&nbsp; This is not available from the grid, since I have paging enabled.&nbsp; Also, I would rather not have to execute a second query just to get the count.</DIV><DIV>&nbsp;</DIV><DIV>I thought about handling the AspDataSource.OnDataBinding event, but none of the event handlers seem to be firing for AspDataSource.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Can I get access&nbsp;to&nbsp;the data directly somehow?&nbsp; When inspecting, I noticed an AspDataSourceView object.&nbsp; What is this, and can I get to it?</DIV><DIV>&nbsp;</DIV><DIV>Additionally, if you have any better information and/or samples of using DevForce in ASP.NET apps, that would be great.&nbsp; The one sample using AspDataSource is pretty bare.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance,</DIV><DIV>-Kevin</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 09:30:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=825&amp;PID=3027#3027</guid>
  </item> 
 </channel>
</rss>