I'm trying to receive XML data from a .Net webservice and populate a 
datagrid.  I'm able to receive the XML data ok but I can't see 
anything in the datagrid.

I attempted to manually duplicate the data returned and found that it 
has something to do with the moniker returned.  Here is the XML 
returned from the webservice:

<searchCriteriaResult xmlns="http://mysite.com/";>
  <XrefData>
    <bukey>1</bukey>
    <prKey>14</prKey>
    <moKey>-1</moKey>
    <spKey>73</spKey>
    <tdKey>47</tdKey>
  </XrefData>
  <XrefData>
    <bukey>1</bukey>
    <prKey>14</prKey>
    <moKey>15</moKey>
    <spKey>73</spKey>
    <tdKey>47</tdKey>
  </XrefData>
</searchCriteriaResult>

If I manually create an XML object and bind it to my datagrid, I get 
the same result...nothing.  However, if I remove the 'xmlns' 
attribute _or_ add a moniker (such 
as 'xmlns:Test="http://mysite.com";') it works fine.

Anyone have any ideas?  I'm completely stumped!!

Reply via email to