<?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: Integrating jqGrid 3.6 into Classic ASP</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp</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/integrating-jqgrid-36-into-classic-asp/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>partoo on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p15244</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p15244</guid>
        	        	<description><![CDATA[<p>Job done!<img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
<p>ASP for EditURL:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6988' value='Select Code' data-codeid='sfcode6988' /></p>
<div class='sfcode' id='sfcode6988'>
<p>&#60;%Option Explicit%&#62;</p>
<p>&#60;!--#include file=&#34;config.asp&#34;--&#62; &#39;db conn/open/close</p>
<p>&#60;%</p>
<p>Dim strOper, strID, strNickName, strTitle, strPwd</p>
<p>strOper&#160;&#160;&#160;= Request(&#34;oper&#34;)<br />strID&#160;&#160;&#160;&#160; = Replace(Request(&#34;Id&#34;),&#34;&#39;&#34;,&#34;&#39;&#39;&#34;)<br />strTitle&#160;&#160;= Replace(Request(&#34;Title&#34;),&#34;&#39;&#34;,&#34;&#39;&#39;&#34;)<br />strNickName&#160;&#160;= Replace(Request(&#34;NickName&#34;),&#34;&#39;&#34;,&#34;&#39;&#39;&#34;)<br />strPwd&#160;&#160;&#160; = Replace(Request(&#34;Pwd&#34;),&#34;&#39;&#34;,&#34;&#39;&#39;&#34;)</p>
<p>Select Case strOper<br />&#160;Case &#34;add&#34;:&#160;<br />&#160;&#160;strSQL = &#34;Insert Into Admin (Title, NickName, Pwd,LastLoginTime) Values(&#39;&#34;&#38;strTitle&#38;&#34;&#39;, &#39;&#34;&#38;strNickName&#38;&#34;&#39;, &#39;&#34;&#38;strPwd&#38;&#34;&#39;,Now()) &#34;<br />&#160;Case &#34;edit&#34;:&#160;<br />&#160;&#160;strSQL = &#34;Update Admin Set Title = &#39;&#34;&#38;strTitle&#38;&#34;&#39;, NickName = &#39;&#34;&#38;strNickName&#38;&#34;&#39;, Pwd = &#39;&#34;&#38;strPwd&#38;&#34;&#39; Where id = &#34;&#38;strID<br />&#160;Case &#34;del&#34;:&#160;<br />&#160;&#160;strSQL = &#34;Delete From Admin Where id = &#34;&#38;strID<br />&#160;&#160;End Select</p>
<p>&#39;response.Write strSQL<br />Dim strSQL,rs</p>
<p>Call OpenDB()<br />Set rs = Conn.Execute(strSQL)<br />Call CloseDB()</p>
<p>%&#62;</p>
</div>
]]></description>
        	        	<pubDate>Sun, 28 Feb 2010 09:06:23 +0200</pubDate>
        </item>
        <item>
        	<title>partoo on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p15187</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p15187</guid>
        	        	<description><![CDATA[<blockquote>
<p>davidbemenderfer said:</p>
<p>Thanks. I am using Firebug.&#160; Very nice tools.&#160; I&#39;m slowly getting up to speed on how to use this tool.&#160; I have a JSON table with subtable working now.&#160; I have add, update, and delete all working.&#160; I have noticed some erratic behavior (the subtable disappears) in ie 7 and ie8 comptability mode (ie7) but great stability in standard ie8 and firefox when adding records to a subtable.</p>
<p>Thanks again.</p>
</p>
<p>-David</p>
</blockquote>
<hr />
<p>Hi,David~</p>
<p>Can you send me your solution?</p>
<p>My Email:partoo.cn@gmail.com</p>
<p>Thank you so much!</p>
]]></description>
        	        	<pubDate>Fri, 26 Feb 2010 19:31:17 +0200</pubDate>
        </item>
        <item>
        	<title>davidbemenderfer on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p12202</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p12202</guid>
        	        	<description><![CDATA[<p>Thanks. I am using Firebug.&#160; Very nice tools.&#160; I&#39;m slowly getting up to speed on how to use this tool.&#160; I have a JSON table with subtable working now.&#160; I have add, update, and delete all working.&#160; I have noticed some erratic behavior (the subtable disappears) in ie 7 and ie8 comptability mode (ie7) but great stability in standard ie8 and firefox when adding records to a subtable.</p>
<p>Thanks again.</p>
</p>
<p>-David</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 15:24:35 +0200</pubDate>
        </item>
        <item>
        	<title>eljaywilson on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p12200</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p12200</guid>
        	        	<description><![CDATA[<p>Also - a great tool for debugging request vars (and lots of other stuff) is the Firebug plugin for Firefox. &#160;If you ain&#39;t using it, you need to be.</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 15:05:09 +0200</pubDate>
        </item>
        <item>
        	<title>eljaywilson on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11985</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11985</guid>
        	        	<description><![CDATA[<p>You would use the same methods as for PHP. &#160;There will be POST and/or GET server vars passed and you just need to grab those and pass those along as params to an SP or use them in a direct SQL statement (I would go the SP route to keep it secure). &#160;You can trust the POST vars, but not any custom GET vars you might be passing.</p>
</p>
<p>HTH,</p>
<p>LJ</p>
]]></description>
        	        	<pubDate>Mon, 16 Nov 2009 11:37:24 +0200</pubDate>
        </item>
        <item>
        	<title>davidbemenderfer on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11824</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11824</guid>
        	        	<description><![CDATA[<p>Thank you so much.&#160; That worked beautifully and the JSON performance is incredible.&#160; Do you have any examples of adding rows, editing, and saving via asp?&#160; I&#39;m sort of at a loss at where to begin.&#160; It&#39;s probably not that hard.</p>
<p>I&#39;m using inline editing.</p>
<p>My goal is that the add button creates a blank line, the save button obviously saves (either on a line by line basis or the records that have been changed), and the delete button obviously deletes the line.&#160; I&#39;m just looking for where to start.</p>
</p>
<p>Thanks so much,</p>
</p>
<p>-David</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 23:05:15 +0200</pubDate>
        </item>
        <item>
        	<title>eljaywilson on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11725</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11725</guid>
        	        	<description><![CDATA[<p>I use jQuery with classic asp and use ajax requests via JSON returns. &#160;It is very fast and much cleaner (IMO) than XML. &#160;There is a JSON ASP Project that is really nice.</p>
</p>
<p>For example, this is how clean the JSON return can be:</p>
<p>Set member = jsArray() &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160;While Not (rs.EOF Or rs.BOF) &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;Set member(Null) = jsObject() &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;For Each col In rs.Fields &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;member(Null)(col.Name) = col.Value &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;Next &#160; &#160; &#160; &#160;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;rs.MoveNext</p>
<p>&#160;&#160; &#160; &#160; &#160;Wend</p>
<p>&#160;&#160; &#160; &#160; &#160;member.Flush &#160;&#39;Writes out (returns) the object in JSON format to the calling script</p>
</p>
<p>Here is where you get it:</p>
<p><a href="http://code.google.com/p/aspjson/" target="_blank">http://code.google.com/p/aspjson/</a></p>
</p>
<p>I love it.</p>
</p>
<p>HTH</p>
<p>LJ&#160;</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 08:45:35 +0200</pubDate>
        </item>
        <item>
        	<title>davidbemenderfer on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11702</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11702</guid>
        	        	<description><![CDATA[<p>Issue resolved:</p>
<p>Adding the following code to party.xml.asp resolved the issue.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6244' value='Select Code' data-codeid='sfcode6244' /></p>
<div class='sfcode' id='sfcode6244'>
<p>Response.contenttype = "text/xml;charset=utf-8"</p>
</div>
<p>When addressing the entire 150,000 records, it is still slow generating the XML.&#160; Are there any suggestions?&#160; Is JSON any faster?</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 00:44:09 +0200</pubDate>
        </item>
        <item>
        	<title>davidbemenderfer on Integrating jqGrid 3.6 into Classic ASP</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11701</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/integrating-jqgrid-36-into-classic-asp#p11701</guid>
        	        	<description><![CDATA[<p>I am trying to integrate jqGrid into classic ASP.&#160; I have successfully tested using the array method for populating but I need to have a source of up to 150,000 records and think&#160;XML would be more efficient.&#160;&#160;I&#160;am open to&#160;ANY suggestions someone may have.&#160; I am working on a proof of concept and been unsuccessful for two days.&#160; .NET is not a short term option.&#160; There is a plan to convert to .NET in the next year.</p>
</p>
<p>The error I am receiving is "Error: Object Required" referring to line 641 of the debug jquery-1.3.2.js file.</p>
</p>
<p>Thanks for any insight or assistance in advance.</p>
</p>
<p>-David</p>
</p>
<p>My grid file ("BaseGrid.asp"):</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3627' value='Select Code' data-codeid='sfcode3627' /></p>
<div class='sfcode' id='sfcode3627'>
<p>&#60;html&#62;<br />&#160;&#60;head&#62;<br />&#160;&#160;&#60;title&#62;Test999.html jqGrid Demo&#60;/title&#62;<br />&#160;&#160;&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.7.1.custom.css" /&#62;<br />&#160;&#160;&#60;link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" /&#62;<br />&#160;&#160;&#60;script src="jquery-1.3.2.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#60;script src="jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript"&#62;<br />&#160;jQuery(document).ready(function(){<br />&#160;&#160;jQuery("#list").jqGrid({<br />&#160;&#160;&#160;<a href="/blog/&#39;party.xml.asp&#39;" target="_blank">url:&#39;party.xml.asp&#39;</a>,<br />&#160;&#160;&#160;datatype: &#39;xml&#39;,<br />&#160;&#160;&#160;mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;colNames:[&#39;party_id&#39;,&#39;first&#39;, &#39;last&#39;],<br />&#160;&#160;&#160;colModel :[<br />&#160;&#160;&#160;&#160;{name:&#39;party_id&#39;, index:&#39;party_id&#39;, width:120},<br />&#160;&#160;&#160;&#160;{name:&#39;first&#39;, index:&#39;first&#39;, width:300},<br />&#160;&#160;&#160;&#160;{name:&#39;last&#39;, index:&#39;last&#39;, width:200 }<br />&#160;&#160;&#160;&#160;],<br />&#160;&#160;&#160;pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160;//rowNum:10,<br />&#160;&#160;&#160;//rowList:[10,20,30],<br />&#160;&#160;&#160;//sortname: &#39;party_id&#39;,<br />&#160;&#160;&#160;//sortorder: "asc",<br />&#160;&#160;&#160;//viewrecords: true,<br />&#160;&#160;&#160;//imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160;//caption: &#39;Case Time List&#39;,<br />&#160;&#160;&#160;//height:600,<br />&#160;&#160;&#160;multiselect:false<br />&#160;&#160;}).navGrid(&#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;{}, //options<br />&#160;&#160;&#160;&#160;&#160;{height:150,width:500,reloadAfterSubmit:true}, // edit options<br />&#160;&#160;&#160;&#160;&#160;{height:150,width:500,reloadAfterSubmit:true}, // add options<br />&#160;&#160;&#160;&#160;&#160;{reloadAfterSubmit:true}, // del options<br />&#160;&#160;&#160;&#160;&#160;{} // search options<br />&#160;&#160;&#160;&#160;);<br />&#160;});<br />&#60;/script&#62;<br />&#160;&#60;/head&#62;<br />&#160;&#60;body&#62;<br />&#160;&#160;&#60;table id="list" class="scroll"&#62;&#60;/table&#62;<br />&#160;&#160;&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;<br />&#160;&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<p>My XML generation file ("party.xml.asp"):</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9610' value='Select Code' data-codeid='sfcode9610' /></p>
<div class='sfcode' id='sfcode9610'>
<p>&#60;% @Language=VBScript %&#62;<br />&#60;% &#39;OPTION EXPLICIT&#39; %&#62;<br />&#60;% Response.Buffer=TRUE %&#62;</p>
<p>&#60;%</p>
<p>&#39;response.write " Begin: " &#38; NOW()&#39;<br />Function Ceiling(intNumber)<br />Dim dblNumber<br />dblNumber = CDbl(intNumber)</p>
<p>If Int(dblNumber * 10) MOD 10 &#62; 0 Then<br />Ceiling = Int(dblNumber) + 1<br />Else<br />Ceiling = Int(dblNumber)<br />End If<br />End Function</p>
<p>Dim strPage, strLimit, strIdx, strOrd, strCount, strTotalPages, strStart<br />Dim strSQL<br />Dim strSearchOn, strField, strFieldData, strSearchOper, strWhere</p>
<p>strPage &#160;= cLng(Request("page"))<br />strLimit&#160;= cLng(Request("rows"))<br />if strLimit = "" or strLimit = 0 then<br />&#160;strLimit = 20<br />end if<br />strIdx&#160;&#160;= Request("sidx")<br />strOrd&#160;&#160;= Request("sord")</p>
<p>strSearchOn&#160;= Request("_search")<br />If (strSearchOn = "true") Then<br />strField&#160;= Request("searchField")<br />&#160;If (strField = "party_id" Or strField = "first" Or strField = "last") Then<br />&#160;&#160;strFieldData&#160;= Request("searchString")<br />&#160;&#160;strSearchOper&#160;= Request("searchOper")<br />&#160;&#160;&#39;construct where&#39;<br />&#160;&#160;strWhere = " Where " &#38; strField</p>
<p>&#160;&#160;Select Case strSearchOper<br />&#160;&#160;Case "bw" : &#39;Begin With<br />&#160;&#160;&#160;strFieldData = strFieldData &#38; "%"<br />&#160;&#160;&#160;strWhere = strWhere &#38; " LIKE &#39;" &#38; strFieldData &#38; "&#39;"<br />&#160;&#160;Case "eq" : &#39;Equal<br />&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " = " &#38; strFieldData<br />&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " = &#39;" &#38; strFieldData &#38; "&#39;"<br />&#160;&#160;&#160;End If<br />&#160;&#160;Case "ne": &#39;Not Equal<br />&#160;&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60;&#62; " &#38; strFieldData<br />&#160;&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60;&#62; &#39;"&#38; strFieldData &#38;"&#39;"<br />&#160;&#160;&#160;&#160;End If<br />&#160;&#160;Case "lt": &#39;Less Than<br />&#160;&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60; " &#38; strFieldData<br />&#160;&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60; &#39;"&#38; strFieldData &#38;"&#39;"<br />&#160;&#160;&#160;&#160;End If<br />&#160;&#160;Case "le": &#39;Less Or Equal<br />&#160;&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60;= " &#38; strFieldData<br />&#160;&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#60;= &#39;"&#38; strFieldData &#38;"&#39;"<br />&#160;&#160;&#160;&#160;End If<br />&#160;&#160;Case "gt": &#39;Greater Than<br />&#160;&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#62; " &#38; strFieldData<br />&#160;&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#62; &#39;"&#38; strFieldData &#38;"&#39;"<br />&#160;&#160;&#160;&#160;End If<br />&#160;&#160;Case "ge": &#39;Greater Or Equal<br />&#160;&#160;&#160;&#160;If(IsNumeric(strFieldData)) Then<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#62;= " &#38; strFieldData<br />&#160;&#160;&#160;&#160;Else<br />&#160;&#160;&#160;&#160;&#160;strWhere = strWhere &#38; " &#62;= &#39;"&#38; strFieldData &#38;"&#39;"<br />&#160;&#160;&#160;&#160;End If<br />&#160;&#160;Case "ew" : &#39;End With<br />&#160;&#160;&#160;strWhere = strWhere &#38; " LIKE &#39;%" &#38; strFieldData &#38; "&#39;"<br />&#160;&#160;Case "cn" : &#39;Contains<br />&#160;&#160;&#160;strWhere = strWhere &#38; " LIKE &#39;%" &#38; strFieldData &#38; "%&#39;"<br />&#160;&#160;End Select<br />&#160;End if<br />End If</p>
<p>strConn = "Provider=SQLOLEDB.1;User ID=XXXXXX;password=XXXXXX;Initial Catalog=XXXXXX;Data Source = XXXXXX;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096"<br />Set dbConn = Server.CreateObject("ADODB.Connection")<br />dbConn.Open strConn</p>
<p>strSQL = "SELECT TOP 50 COUNT(*) AS Count FROM [party] "&#38;strWhere&#38;" "<br />&#39;response.write strSQL&#39;<br />Set rs = dbConn.Execute(strSQL)</p>
<p>strCount = cLng(rs("count"))</p>
<p>If (strCount &#62; 0) Then<br />strTotalPages = strCount / strLimit<br />Else<br />&#160;strTotalPages = 0<br />End If</p>
<p>strTotalPages = Ceiling(strTotalPages)</p>
<p>If (strPage &#62; strTotalPages) Then<br />&#160;strPage&#160;= strTotalPages<br />End If</p>
<p>strStart = strLimit * strPage - strLimit</p>
<p>If (strStart &#60; 0) Then<br />&#160;strStart = 0<br />End If</p>
</p>
<p>strSQL = "SELECT TOP 50 * FROM [party] "&#38;strWhere&#38;" "</p>
<p>Set rs = dbConn.Execute(strSQL)<br />&#39;response.Write strSQL&#39;</p>
<p>strXMLString = ""<br />strXMLString = strXMLString &#38; "&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;"<br />strXMLString = strXMLString &#38; "&#60;rows&#62;"<br />strXMLString = strXMLString &#38; "&#60;page&#62;"&#38;strPage&#38;"&#60;/page&#62;"<br />strXMLString = strXMLString &#38; "&#60;total&#62;"&#38;strTotalPages&#38;"&#60;/total&#62;"<br />strXMLString = strXMLString &#38; "&#60;records&#62;"&#38;strCount&#38;"&#60;/records&#62;"</p>
<p>dblCounter = 1<br />dblFlushCounter = 0<br />Do While Not rs.Eof<br />&#160;if dblFlushCounter = 200 then<br />&#160;&#160;response.write strXMLString<br />&#160;&#160;response.flush<br />&#160;&#160;dblFlushCounter = 0<br />&#160;&#160;strXMLString = ""<br />&#160;end if</p>
<p>&#160;strXMLString = strXMLString &#38; "&#60;row id=&#39;"&#38; dblCounter &#38;"&#39;&#62;"<br />&#160;&#160;strXMLString = strXMLString &#38; "&#60;cell&#62;" &#38; rs("Party_ID") &#38;"&#60;/cell&#62;"<br />&#160;&#160;strXMLString = strXMLString &#38; "&#60;cell&#62;" &#38; rs("first") &#38;"&#60;/cell&#62;"<br />&#160;&#160;strXMLString = strXMLString &#38; "&#60;cell&#62;&#60;![CDATA[" &#38; rs("last") &#38; "]]&#62;&#60;/cell&#62;"<br />&#160;strXMLString = strXMLString &#38; "&#60;/row&#62;"<br />&#160;rs.MoveNext<br />&#160;dblCounter = dblCounter + 1<br />&#160;dblFlushCounter = dblFlushCounter + 1<br />Loop</p>
<p>strXMLString = strXMLString &#38; "&#60;/rows&#62;"<br />&#39;Response.contenttype = "text/xml"&#39;<br />Response.Write strXMLString<br />response.flush</p>
<p>&#39;response.write " End: " &#38; NOW()&#39;<br />%&#62;</p>
</div>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 00:18:05 +0200</pubDate>
        </item>
</channel>
</rss>