D
Dotnetdev
Hi Gurus,
I need to convert this code from JScript to C#. I have a drop down list. It
is binded to two datasources. One is with webservices which provide stream of
data(unformatted data) and another with an xml file which formats this data.
The code was written in JScript before and now the client wants to convert it
to C#. Here is the JScript code(written in onload event).
function XDocument:: OnLoad(eventObj)
{
var objDataObject;
objDataObject =
XDocument.DataObjects("A").DOM.loadXML(XDOcument.DataObjects("B").DOM.XML);
}
where A is dataconnection to xml file and B is dataconnection to webservice.
Please help.
Thanks in advance
I need to convert this code from JScript to C#. I have a drop down list. It
is binded to two datasources. One is with webservices which provide stream of
data(unformatted data) and another with an xml file which formats this data.
The code was written in JScript before and now the client wants to convert it
to C#. Here is the JScript code(written in onload event).
function XDocument:: OnLoad(eventObj)
{
var objDataObject;
objDataObject =
XDocument.DataObjects("A").DOM.loadXML(XDOcument.DataObjects("B").DOM.XML);
}
where A is dataconnection to xml file and B is dataconnection to webservice.
Please help.
Thanks in advance