• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: c# xpath queries

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "c# xpath queries"

Collapse

  • Guest's Avatar
    Guest replied
    Re: Bug

    fixed

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: Bug

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: Bug

    1. i'm tired of t-sql
    2. diffgrams and updategrams are fun
    3. schema/datasets/classes in c# are new
    4. xml is native in .net data objects
    5. it's fast
    6. it's the future
    7. it's portable
    8. it's scalable
    9. it's good with firewalls
    10. the client wants it!

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: Bug

    LOL, ScotsPine, any chance you could give a few good reasons _why_ to use XML/XSLT for a query???

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Bug

    yes - that particular bug is 'by design'

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Bug

    Looks like a little bug has crept into your code :x

    If only they were that easy to spot.

    I have not idea what the answer is.

    Try MSDN, Google or somewhere like experts exchange.

    Good luck.

    Leave a comment:


  • Guest's Avatar
    Guest started a topic c# xpath queries

    c# xpath queries

    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.

Working...
X