Mango_Lier
Posts: 110
|
| Posted: 05/23/2006, 5:34 PM |
|
It seems that most of the third party controls and components including M$ OWC can consume XML to render the data. After doing some experimentation with CCS3, it seems all that is required to generate the XML is to have the following few lines of ASP. This routine can be called from the Show() method in the page.
[BEGIN CODE]
Sub WriteXML()
Dim XMLDom
Response.Buffer = TRUE
Response.ContentType = "text/xml"
set XMLDom = CreateObject("MSXML.DOMDocument")
Recordset.RecordSet.Save XMLDom, 1
Response.Write XMLDom.XML
Response.Flush
Response.End
End Sub
{END CODE]
So the new builder would work just the existing grid builder except it will NOT add table layout on the HTML page and instead will call the above routine in the show method of the builder class. The advantages are that we will be able to use same code for security, connection string management, SQL query builder, and parameter substitution.
Is there any documentation available to do this kind of surgery... on existing builders
|
 |
 |
|