Dropdownlist & lookup data based on selection

B

Bjørn Nornes

I'm unable to lookup data based on selection in a dropdownlist. Data for the
drop-
down is received from a WebService.

Anyone ???

Regards
BN


...code...

if (strCustomerId)
{
///dfs:myFields/dfs:dataFields/s0:UllsteinGetDeptsResponse/s0:UllsteinGetDeptsResult/NewDataSet/DataTable
XDocument.GetDOM("MultiMediaDepartments").setProperty("SelectionNamespaces",
'xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"
xmlns:s0=http://tempuri.org/
xmlns:my=http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-12-29T14:37:04
xmlns:_xdns0=http://schemas.microsoft.com/office/infopath/2003/changeTracking
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"');

objCustomerLookupNode =
XDocument.GetDOM("MultiMediaDepartments").selectSingleNode("/dfs:myFields/dfs:dataFields/s0:UllsteinGetDeptsResponse/s0:UllsteinGetDeptsResult/NewDataSet/DataTable[@mmdLogoMmfid='"
+ strCustomerId + "']");
 
S

Scott L. Heim [MSFT]

Hi BN,

What type of results are you seeing? An error? If so, what is the error?
Can you provide some additional details on what is expected versus what you
are experiencing?

Thanks,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top