Click here to Skip to main content
12,511,553 members (45,664 online)
Rate this:
 
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 1:33am
ivicv427

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2016
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