insertion code - InfoPath Dev
in

InfoPath Dev

insertion code

Last post 04-22-2006 10:48 AM by Stephanie Cantwell. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-09-2006 12:10 PM

    • dpessoa
    • Not Ranked
    • Joined on 03-09-2006
    • Brazil
    • Posts 1

    insertion code

    first sorry for my bad english. :)
    i need to translate this JS insertion code to C#, anyone can help??

    var objXmlHttp = new ActiveXObject("MSXML2.XMLHTTP.5.0");
    objXmlHttp.Open("HEAD", strUrl, false);
    objXmlHttp.Send();
    if (objXmlHttp.Status == 404 || !fFileExists)
    {
    objXmlHttp.Open("PUT", strUrl, false);
    objXmlHttp.Send(XDocument.DOM.xml);

    if (objXmlHttp.Status == 200 objXmlHttp.Status == 201)
    {
    blnSubmitSuccess = true;
    }
    }
  • 04-22-2006 10:48 AM In reply to

    Hi Dpessoa,

    Here is a site that should help you to tranlate your code:

    http://www.codeproject.com/csharp/jscriptnet_to_c_.asp
    Stephanie Cantwell / Test Manager
    Qdabra® Software / Streamline data gathering to turn process into knowledge

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.