Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Hello World
I have C# Winform application for workig with SQL datadase.
In SQL database I have stored procedures for SELECT, INSERT, UPDATE, DELETE jobs.
My DataSet is configured to use those procedures.
Stored procedure for INSERT has one OUTPUT parameter ( ID of saved new record ).
I would like to assign a value of that parameter to some variable ( say: int x = ...)
I don't know how can I get the value of OUTPUT parameter from TableAdapter.
Many thank' for reading my text
Posted 23-May-13 2:33am
ivicv395

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150301.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100