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 + "']");
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 + "']");