<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Problem implementing pagination in jqGrid using asp.net </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-implementing-pagination-in-jqgrid-using-asp-net</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/problem-implementing-pagination-in-jqgrid-using-asp-net/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kganesan on Problem implementing pagination in jqGrid using asp.net </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-implementing-pagination-in-jqgrid-using-asp-net#p21602</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-implementing-pagination-in-jqgrid-using-asp-net#p21602</guid>
        	        	<description><![CDATA[<p>Hi,<br /> I am new to jquery, I am creating an application where in I want to bind my data table to jqgrid and implement sorting, searching and pagination in it.<br />After some hiccups i have implemented sorting and searching but I am still finding it difficult to implement pagination. Following is my web method and aspx page.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9707' value='Select Code' data-codeid='sfcode9707' /></p>
<div class='sfcode' id='sfcode9707'>&#60;%@ Page Language=&#34;C#&#34; AutoEventWireup=&#34;true&#34; CodeFile=&#34;Default.aspx.cs&#34; Inherits=&#34;_Default&#34; %&#62;</p>
<p>&#60;%@ Import Namespace=&#34;System.Web.Script.Serialization&#34; %&#62;<br />&#60;%@ Import Namespace=&#34;System.Collections.Generic&#34; %&#62;<br />&#60;%@ Import Namespace=&#34;System.Web.Services&#34; %&#62;<br />&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/TR/xhtml1/DT" rel="nofollow">http://www.w3.org/TR/xhtml1/DT</a>.....t;&#038;gt</a>;<br />&#60;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/1999/xhtml&#038;q" rel="nofollow">http://www.w3.org/1999/xhtml&#038;q</a>.....t;&#038;gt</a>;<br />&#60;head runat=&#34;server&#34;&#62;<br />&#160; &#160; &#60;title&#62;&#60;/title&#62;<br />&#160; &#160; &#60;link href=&#34;ui.jqgrid.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;</p>
<p>&#160; &#160; &#60;script type=&#34;text/javascript&#34; src=&#34;jquery-1.4.4.min.js&#34;&#62;&#60;/script&#62;</p>
<p>&#160; &#160; &#60;%--&#60;link href=&#34;jquery-ui-1.8.2.custom.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;--%&#62;</p>
<p>&#160; &#160; &#60;script src=&#34;grid.locale-en.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;</p>
<p>&#160; &#160; &#60;script src=&#34;jquery.jqGrid.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;</p>
<p>&#160; &#160; &#60;script src=&#34;json2.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;</p>
<p>&#160; &#160; &#60;link href=&#34;jquery-ui-1.8.7.custom.css&#34; media=&#34;screen&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;</p>
<p>&#160; &#160; &#60;script type=&#34;text/javascript&#34;&#62;<br />&#160; &#160; &#160; &#160; $(document).ready(function() {<br />&#160; &#160; &#160; &#160; &#160; &#160; $(&#39;#submit&#39;).click(function() {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $(&#39;#list&#39;).jqGrid({<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; datatype: function(postdata) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var params = new Object();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; params.page = postdata.page;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; params.pageSize = postdata.rows;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; params.sortIndex = postdata.sidx;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; params.sortDirection = postdata.sord;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; //params.total = postdata.total;</p>
<p>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $.ajax({<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; url: &#39;Default.aspx/GetData&#39;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; type: &#39;POST&#39;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; data: JSON.stringify(params),<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; contentType: &#34;application/json; charset=utf-8&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; error: function(data, textStatus) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; alert(&#39;Error loading json&#39;);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; success: function(data, st) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (st == &#39;success&#39;) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var grid = $(&#34;#list&#34;);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var gridData = JSON.parse(data.d);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var total = gridData.length;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; grid.clearGridData();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; for (var i = 0; i &#60; params.pageSize; i++) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; grid.addRowData(i + 1, gridData[i]);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colNames: [&#39;Product ID&#39;, &#39;Product Name&#39;, &#39;Product Number&#39;],<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colModel: [<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{ name: &#39;ProductID&#39;, index: &#39;ProductID&#39;, sort: true, width: 80, align: &#39;center&#39;, sorttype: &#34;int&#34; },<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{ name: &#39;Name&#39;, index: &#39;Name&#39;, width: 120, align: &#39;center&#39; },<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{ name: &#39;ProductNumber&#39;, index: &#39;ProductNumber&#39;, width: 120, align: &#39;center&#39;}],<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; pager: &#34;#pager&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; caption: &#39;Search: &#60;input type=&#34;search&#34; id=&#34;gridsearch&#34; placeholder=&#34;Search&#34; results=&#34;0&#34; class=&#34;gridsearch&#34; /&#62;&#39;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; height: 150,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; width: 550,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rowNum: 10,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rowList: [10, 20, 30],<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rownumWidth: 40,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; sortorder: &#39;desc&#39;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; loadonce: true,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; viewRecords: true,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; gridComplete: function() {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; searchColumn = jQuery(&#34;#list&#34;).jqGrid(&#39;getCol&#39;, &#39;ProductID&#39;, true) //needed for live filtering search<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jsonReader: {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;// root: &#34;Rows&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; page: &#34;totalpages&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; total: &#34;Total&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; records: &#34;totalrecords&#34;,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; repeatitems: false<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;// id: &#34;ProductID&#34;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }</p>
<p>&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jQuery(&#39;#gridsearch&#39;).keyup(function() {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var searchString = jQuery(this).val().toLowerCase()<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jQuery.each(searchColumn, function() {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (this.value.toLowerCase().indexOf(searchString) == -1) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jQuery(&#39;#&#39; + this.id).hide()<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; } else {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jQuery(&#39;#&#39; + this.id).show()<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; })<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });<br />&#160; &#160; &#160; &#160; &#160; &#160; });<br />&#160; &#160; &#160; &#160; });<br />&#160; &#160; &#60;/script&#62;</p>
<p>&#60;/head&#62;<br />&#60;body&#62;<br />&#160; &#160; &#60;form id=&#34;form1&#34; runat=&#34;server&#34;&#62;<br />&#160; &#160; &#60;asp:ScriptManager ID=&#34;ScriptManager1&#34; EnablePageMethods=&#34;true&#34; runat=&#34;server&#34;&#62;<br />&#160; &#160; &#60;/asp:ScriptManager&#62;<br />&#160; &#160; &#60;input type=&#34;button&#34; id=&#34;submit&#34; value=&#34;Fetch&#34; title=&#34;Fetch&#34; /&#62;<br />&#160; &#160; &#60;center&#62;<br />&#160; &#160; &#160; &#160; &#60;table id=&#34;list&#34;&#62;<br />&#160; &#160; &#160; &#160; &#60;/table&#62;<br />&#160; &#160; &#160; &#160; &#60;div id=&#34;pager&#34;&#62;<br />&#160; &#160; &#160; &#160; &#60;/div&#62;<br />&#160; &#160; &#60;/center&#62;<br />&#160; &#160; &#60;/form&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<p>my web method</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6241' value='Select Code' data-codeid='sfcode6241' /></p>
<div class='sfcode' id='sfcode6241'>using System;<br />using System.Data;<br />using System.Data.SqlClient;<br />using System.Web.Services;<br />using System.Collections.Generic;<br />using System.Text;<br />using System.Web.Script.Serialization;<br />using System.Web.Script.Services;<br />using System.Web;</p>
<p>public partial class _Default : System.Web.UI.Page<br />{<br />&#160; &#160; protected void Page_Load(object sender, EventArgs e)<br />&#160; &#160; {</p>
<p>&#160; &#160; }<br />&#160; &#160; [WebMethod]<br />&#160; &#160; public static string GetData(int page, int pageSize, string sortIndex, string sortDirection)<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; string connectionString = string.Empty;<br />&#160; &#160; &#160; &#160; string queryString = string.Empty;<br />&#160; &#160; &#160; &#160; int pageStartIndex;<br />&#160; &#160; &#160; &#160; int pageEndIndex;<br />&#160; &#160; &#160; &#160; if (page == 1)<br />&#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; pageStartIndex = 1;<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; else<br />&#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; pageStartIndex = ((page * pageSize) - pageSize) + 1;<br />&#160; &#160; &#160; &#160; }</p>
<p>&#160; &#160; &#160; &#160; pageEndIndex = (pageStartIndex + pageSize) - 1;<br />&#160; &#160; &#160; &#160; connectionString = GetConnectionString();<br />&#160; &#160; &#160; &#160; if (HttpContext.Current.Session[&#34;Data&#34;] == null)<br />&#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; queryString = &#34;SELECT Row_Number() over (order by ProductID ASC) as rowID, ProductID,Name,ProductNumber FROM (Select ROW_NUMBER() OVER (ORDER BY ProductID ASC) AS ROWID,&#34; +<br />&#160; &#160; &#160; &#160; &#160; &#160; &#34;ProductID,Name,ProductNumber FROM [Production].[Product]) AS a&#34;;</p>
<p>&#160; &#160; &#160; &#160; &#160; &#160; DataSet ds = new DataSet();<br />&#160; &#160; &#160; &#160; &#160; &#160; SqlConnection connection = new SqlConnection(connectionString);<br />&#160; &#160; &#160; &#160; &#160; &#160; connection.Open();<br />&#160; &#160; &#160; &#160; &#160; &#160; SqlCommand command = connection.CreateCommand();</p>
<p>&#160; &#160; &#160; &#160; &#160; &#160; command.CommandText = queryString;<br />&#160; &#160; &#160; &#160; &#160; &#160; SqlDataAdapter da = new SqlDataAdapter(queryString, connectionString);<br />&#160; &#160; &#160; &#160; &#160; &#160; da.Fill(ds, &#34;product&#34;);<br />&#160; &#160; &#160; &#160; &#160; &#160; DataTable dt = ds.Tables[&#34;product&#34;];<br />&#160; &#160; &#160; &#160; &#160; &#160; connection.Close();<br />&#160; &#160; &#160; &#160; &#160; &#160; HttpContext.Current.Session[&#34;Data&#34;] = dt;<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; DataTable dt1 = HttpContext.Current.Session[&#34;Data&#34;] as DataTable;<br />&#160; &#160; &#160; &#160; IList&#60;Product&#62; pd = new List&#60;Product&#62;();<br />&#160; &#160; &#160; &#160; if (sortDirection == &#34;&#34; &#124;&#124; sortDirection == &#34;asc&#34;)<br />&#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; &#160; &#160; for (int k = 0; k &#60; dt1.Rows.Count; k++)<br />&#160; &#160; &#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Product p = new Product();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.ProductID = dt1.Rows[k][&#34;ProductID&#34;].ToString();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.Name = Convert.ToString(dt1.Rows[k][&#34;Name&#34;]);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.ProductNumber = Convert.ToString(dt1.Rows[k][&#34;ProductNumber&#34;]);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; pd.Add(p);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.total = pd.Count;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.page = Convert.ToInt32(pd.Count /pageSize);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.records = pd.Count;<br />&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160;<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; else<br />&#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; &#160; &#160; for (int k = dt1.Rows.Count - 1; k &#62;= 0; k--)<br />&#160; &#160; &#160; &#160; &#160; &#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Product p = new Product();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.ProductID = dt1.Rows[k][&#34;ProductID&#34;].ToString();<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.Name = Convert.ToString(dt1.Rows[k][&#34;Name&#34;]);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.ProductNumber = Convert.ToString(dt1.Rows[k][&#34;ProductNumber&#34;]);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.total = pd.Count;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.page = Convert.ToInt32(pd.Count / pageSize);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; p.records = pd.Count;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; pd.Add(p);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160;<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; JavaScriptSerializer jsonSerz = new JavaScriptSerializer();<br />&#160; &#160; &#160; &#160; string serializedData = jsonSerz.Serialize(pd);<br />&#160; &#160; &#160; &#160; pd = null;<br />&#160; &#160; &#160; &#160; return serializedData;<br />&#160; &#160; }</p>
<p>&#160; &#160; static private string GetConnectionString()<br />&#160; &#160; {<br />&#160; &#160; &#160; &#160; return &#34;Data Source=INMDCD0109\\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=SSPI&#34;;<br />&#160; &#160; }<br />}<br />public class Product<br />{</p>
<p>&#160; &#160; public string ProductID { get; set; }</p>
<p>&#160; &#160; public string Name { get; set; }</p>
<p>&#160; &#160; public string ProductNumber { get; set; }</p>
<p>&#160; &#160; public int page { get; set; }</p>
<p>&#160; &#160; public int total { get; set; }</p>
<p>&#160; &#160; public int records { get; set; }</p>
<p>}</p>
</div>
<p>any help regarding this will be of great help.<br />Thanks in advance.</p></p>
]]></description>
        	        	<pubDate>Mon, 10 Jan 2011 12:45:04 +0200</pubDate>
        </item>
</channel>
</rss>