does anybody know how to pass in more than a single parameter to an xpath query?
i have...(hope ezboard leaves the code alone)
cmd.CommandType = SqlXmlCommandType.XPath;
cmd.RootTag = "ROOT";
cmd.Namespaces= "xmlns:x ='urn:myschema:PersonDetails'";
cmd.SchemaPath= absPath + "\\referralSchemaForUpdates.xsd";
cmd.CommandText = "PersonDetails[@PersonID=\"_personid\"[PersonDetails/ReferralDetails[@ReferralId=\"_referralid\"]]";
i need to pass two parms into the commandtext.
i have...(hope ezboard leaves the code alone)
cmd.CommandType = SqlXmlCommandType.XPath;
cmd.RootTag = "ROOT";
cmd.Namespaces= "xmlns:x ='urn:myschema:PersonDetails'";
cmd.SchemaPath= absPath + "\\referralSchemaForUpdates.xsd";
cmd.CommandText = "PersonDetails[@PersonID=\"_personid\"[PersonDetails/ReferralDetails[@ReferralId=\"_referralid\"]]";
i need to pass two parms into the commandtext.
Comment