hi,
it works. thanks man.
we can also send the string in xml fromat got from
================
select * from table
for xml auto, elements
================
to client using http_requestText.
There u can create xml document using the following code.
var strRes = new String();
strRes = http_request.responseText;
alert(strRes);
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.loadXML(strRes);
var xmlObj = xmlDoc.documentElement;
alert(xmlObj.childNodes.length);
kalaivanan
Mello wrote:
> If the result is in a dataset you can get the xml string by using the
> GetXml method,
> simply return this string and use as you like.
>
> I think you can return a xmldocument too but im not sure
>
> kalaivanan ha scritto:
>
> > hi,
> > i am converting the result set from sql server to xml format.
> > using
> > select * from table
> > for xml auto.
> >
> > how do i send the result set (xml format) to client as data stream
> > without creating a xml file at the server. b'coz due to secutiry
> > purpose i dont want to create xml file.
> >
> > kalaivanan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---