<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.entityspaces.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET - Design Time Data Binding</title><link>http://community.entityspaces.net/forums/17.aspx</link><description>ASP.NET Design Time Binding Issues Only</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31031.3054)</generator><item><title>Re: How to show total # of records from esDataSource Control</title><link>http://community.entityspaces.net/forums/thread/14446.aspx</link><pubDate>Mon, 30 Mar 2009 13:55:25 GMT</pubDate><guid isPermaLink="false">fc29756b-907a-45c7-bf99-e939cf2d0092:14446</guid><dc:creator>Scott.Schecter</dc:creator><slash:comments>0</slash:comments><comments>http://community.entityspaces.net/forums/thread/14446.aspx</comments><wfw:commentRss>http://community.entityspaces.net/forums/commentrss.aspx?SectionID=17&amp;PostID=14446</wfw:commentRss><description>&lt;p&gt;You can access the values needed to construct paging text in the esPostSelect event like so&lt;br&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="code"&gt;&lt;h6&gt;Code:&lt;/h6&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;protected void&lt;/span&gt; EsDataSource1_esPostSelect(&lt;span class="kwd"&gt;object&lt;/span&gt; sender, EntitySpaces.Web.esDataSourceSelectEventArgs e)
{
	var emps = e.Collection &lt;span class="kwd"&gt;as&lt;/span&gt; EmployeesCollection;

	&lt;span class="kwd"&gt;if&lt;/span&gt; (emps != &lt;span class="kwd"&gt;null&lt;/span&gt;)
	{
		&lt;span class="kwd"&gt;int&lt;/span&gt; count = emps.Count;
		&lt;span class="kwd"&gt;int&lt;/span&gt; pageNumber = emps.Query.es.PageNumber;
		&lt;span class="kwd"&gt;int&lt;/span&gt; pageSize = emps.Query.es.PageSize;
	}
}&lt;/pre&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to show total # of records from esDataSource Control</title><link>http://community.entityspaces.net/forums/thread/14426.aspx</link><pubDate>Fri, 27 Mar 2009 03:26:02 GMT</pubDate><guid isPermaLink="false">fc29756b-907a-45c7-bf99-e939cf2d0092:14426</guid><dc:creator>blreese</dc:creator><slash:comments>0</slash:comments><comments>http://community.entityspaces.net/forums/thread/14426.aspx</comments><wfw:commentRss>http://community.entityspaces.net/forums/commentrss.aspx?SectionID=17&amp;PostID=14426</wfw:commentRss><description>&lt;p&gt;I have an esDataSource control which a GridView control is bound to.&amp;nbsp; The esDataSource handles the total record count as well as the current (20) rows that should be displayed when paging.&amp;nbsp; Unfortunately, I am unable to show the count of this in my grid.&amp;nbsp; for example, I want it to say "Showing records 20-40 of 684" in the footer of the gridview.&amp;nbsp; does the esDataSource control return this property?&amp;nbsp; How can I do this?&amp;nbsp; I can't find it...I am sure hte answer is easy to you guys, I just dont know where it is.&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;Br &lt;br&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>