Problem with GetListItems() Web service - InfoPath Dev
in

InfoPath Dev

Problem with GetListItems() Web service

Last post 03-07-2006 07:20 AM by liorlankri. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-07-2006 07:20 AM

    Problem with GetListItems() Web service

    I have a form that in it's C# code (That operate for me Web Reference to GetListItems methode of SharePoint)

    I use this code:
    {
    XmlNode returnXml = WS.GetListItem("ListName",null,ndQuery,null,null,ndQueryOptions);


    XmlNode MainNode = returnXml.ChildNodes.Item(1);
    MainNode = MainNode.ChildNodes.Item(1);

    }

    I want to know the value of "rs:data ItemCount" before I do somthing.
    I try this
    {
    XmlNode Nodecounter = MainNode.Attributes.GetNamedItem("rs:data");
    int counter = Int32.Parse(Nodecounter.Attributes["ItemCount"].Value);
    }
    It's not work!!!

    How to do it???
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.