Girish wrote:
HERE IS SOME ASP.NET CODE NEED HELP on transfering this to classic
ASP, all I need is valid XML doc so that I can read data from it and
display it on the browser
// Make sure we have something to work with
int bLen = Context.Request.ContentLength;
if( bLen > 0 )
XML formatted as ADF(auto lead data)... so convert the bytes to
string.
byte[] bytes = Context.Request.BinaryRead( bLen );
string msg = Encoding. ( bytes, 0, bLen );
// At this point we have some data and we expect
// it to be an ADF report, which is valid XML.
I haven't a clue what an ADF report is, but I can tell you that XML is XML
in any language. So, whatever the XML looks like in your .Net application,
you should create the same XML in the ASP app.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"