// asp code Generated by Basic Processor
// Original Page Name: C:\gmTestBed\FMStocks\src\FMSWeb\ASP\_GetXMLTickerHistory.asp

namespace FMSWeb
{
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using VBNET=Microsoft.VisualBasic;

public partial class __GetXMLTickerHistory : System.Web.UI.Page
{
   public FMStocks_Ext.History objHistory = new FMStocks_Ext.History();
   private System.IO.MemoryStream stream = new System.IO.MemoryStream();
   // on error resume next
   public gmRTL.DataLib.SqlClient.Recordset rs = null;
   public string ticker = "";
   public void WriteXML_Recordset(gmRTL.DataLib.SqlClient.Recordset rs) // UPGRADE_INFO: hand-coded
   {
      var txt = new System.IO.MemoryStream();
      if (VBNET.Information.IsReference(rs))
      {
         rs.Table.WriteXml(txt); // adXMLStream --save to an XMLStream object
         txt.Position = 0;
         byte[] bytes = txt.GetBuffer();
         char[] chars = new char[txt.Length];
         bytes.CopyTo(chars,0);
         HttpContext.Current.Response.Write(bytes);
      }
   }
}
}
