<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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>Data Presentation Controls</title><link>http://forums.asp.net/24.aspx</link><description>ASP.NET data-bound controls such as the DataGrid, DataList, GridView, FormView, DetailsView, and Repeater Controls.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=23&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to do paging in datagrid?</title><link>http://forums.asp.net/thread/3275544.aspx</link><pubDate>Sun, 05 Jul 2009 17:39:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275544</guid><dc:creator>alessandro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275544.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3275544</wfw:commentRss><description>&lt;p&gt;for datagrid in 1.1 , you need to set AllowPaging to true &lt;b&gt;and &lt;span style="color:red;"&gt;CurrentPageIndex&lt;/span&gt; = e.NewPageIndex, while&lt;/b&gt; &lt;b&gt;passing your &lt;span style="color:red;"&gt;datasource to the datasource property&lt;/span&gt; + databind&lt;/b&gt; in the PageIndexChanged event handler of your datagrid eg :&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.allowpaging.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.allowpaging.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Follow the sample code above. It&amp;#39;s specific to datagrid.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to do paging in datagrid?</title><link>http://forums.asp.net/thread/3275333.aspx</link><pubDate>Sun, 05 Jul 2009 12:08:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275333</guid><dc:creator>pavan496</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275333.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3275333</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;You can use the paging feature that is build in datagrid.&lt;/p&gt;&lt;p&gt;To enable paging, set the AllowPaging property of the datagrid to true.&lt;/p&gt;&lt;p&gt;Select your page size as per required and in the pageindexchanging event of the gridview, write down the following code&lt;pre name="code" class="c-sharp"&gt;GridView1.PageIndex = e.NewPageIndex;
GridView1.DataBind();&lt;/pre&gt;&lt;br /&gt; This will do it, hopefully&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to do paging in datagrid?</title><link>http://forums.asp.net/thread/3275258.aspx</link><pubDate>Sun, 05 Jul 2009 09:53:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275258</guid><dc:creator>Nishant Mishra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275258.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3275258</wfw:commentRss><description>&lt;p&gt;Hello friends &lt;/p&gt;
&lt;p&gt;I want to know how should paging be implemented in a datagrid in asp.net 1.1.&lt;/p&gt;
&lt;p&gt;I want that all the records when fetched from the database should be shown not in a single page. Instead 10 records per page should be shown. Clicking the next button should show the next 10 records.&lt;/p&gt;
&lt;p&gt;Kindly help.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>