Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Evans 86 posts 116 karma points
    Sep 22, 2014 @ 17:38
    Mark Evans
    0

    calling a stored procedure

    i cannot seem to get the correct syntax for calling a stored procedure...

    the page comes back with an "error loading partial view script" sufggesting the syntax isnt right....

    var jobresults = db.Query<JobSector>(";EXEC JSN_JOBS_SEARCH_FROM_UMBRACO  @@SectorId=@0,  @@SearchTerms = @1", searchSector, searchTerm);

     

Please Sign in or register to post replies

Write your reply to:

Draft