Stored Procedure Ouptut Parameters - InfoPath Dev
in

InfoPath Dev

Stored Procedure Ouptut Parameters

Last post 08-04-2005 07:55 AM by Agni Jonnalagadda. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-20-2005 03:16 AM

    Stored Procedure Ouptut Parameters

    Does anybody know how to access the Ouput parameters of a Stored Procedure called through Infopath? I can successfully call the Stored Procedure but cannot access the Output parameters.
  • 07-20-2005 12:34 PM In reply to

    Re: Stored Procedure Ouptut Parameters

    Hi bobstery,
    How did you call the stored procedure? I have written a simple example, where i could get the out parameter. Just check out whether this works for you
    declare @abc varchar(10)
    exec dbo.outparameter @abc out
    select @abc as abc

    I have given this sql statement when i was taking sql data connection.

    Check out if this helps!

    Agni
    InfoPath Dev India
  • 07-25-2005 01:24 AM In reply to

    Re: Stored Procedure Ouptut Parameters

    How would I access the result in the script i.e.

    var result = XDocument.QueryAdapter.????

    Many Thanks
  • 08-04-2005 07:55 AM In reply to

    Re: Stored Procedure Ouptut Parameters

    Hi Bobstery, Sorry for being late, here is teh code to access data adapters

    //C# code
    thisXDocument.DataAdapters["DataConnectionName"]

    Agni
    InfoPath Dev India
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.