Sending data to a stored procedure from a smart object.

Last post 03-28-2008, 12:28 PM by timkn. 1 replies.
Sort Posts: Previous Next
  •  03-28-2008, 11:49 AM 22801

    Sending data to a stored procedure from a smart object.

    Hi

    I have written some c# code in a Server event in K2 BP that calls a stored procedure passing it 2 values and recieving 1 back. These values are set in the server event at the moment for testing purposes but now I need to pass the stored proc values from a Smart object.

    How do I get the data from the smart object and use it in my c#.

    If I havn't explained this very well and you need to see my code then just let me know. 

    Thanks in advance

    Rich

      

  •  03-28-2008, 12:28 PM 22802 in reply to 22801

    Re: Sending data to a stored procedure from a smart object.

    What if you add a SmartObject Event just before your Server Event code and store the returned data as process or activity datafields? 

    Then in your Server Event code you can just reference the Process or Activity Datafield values as the Stored Proces input parameters.


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
View as RSS news feed in XML