Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: Entity point-to-point communication...suggestions Pin
LongRange.Shooter19-Dec-03 7:14
LongRange.Shooter19-Dec-03 7:14 
GeneralRe: Entity point-to-point communication...suggestions Pin
Heath Stewart19-Dec-03 8:26
protectorHeath Stewart19-Dec-03 8:26 
GeneralRe: Entity point-to-point communication...suggestions Pin
LongRange.Shooter22-Dec-03 2:34
LongRange.Shooter22-Dec-03 2:34 
GeneralRe: Entity point-to-point communication...suggestions Pin
Giles19-Dec-03 8:59
Giles19-Dec-03 8:59 
GeneralRe: Entity point-to-point communication...suggestions Pin
LongRange.Shooter22-Dec-03 9:24
LongRange.Shooter22-Dec-03 9:24 
GeneralCopy the structure of an Access table Pin
Anonymous19-Dec-03 4:53
Anonymous19-Dec-03 4:53 
GeneralStored Procedure Return Value Pin
Mazdak19-Dec-03 4:16
Mazdak19-Dec-03 4:16 
GeneralRe: Stored Procedure Return Value Pin
Heath Stewart19-Dec-03 5:03
protectorHeath Stewart19-Dec-03 5:03 
On your SqlCommand, add a parameter (whatever name you want, the command builder typically uses @RETURN_VALUE if you want to be consistent). Set the direction parameter in the SqlParameter constructor (or use the Direction property after the SqlParameter is created) and set it to ParameterDirection.ReturnValue. Add this SqlParameter to the command's SqlCommand.Parameters collection. After executing the command, check the SqlParameter.Value.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Stored Procedure Return Value Pin
Mazdak19-Dec-03 5:59
Mazdak19-Dec-03 5:59 
GeneralRe: Stored Procedure Return Value Pin
Heath Stewart19-Dec-03 6:06
protectorHeath Stewart19-Dec-03 6:06 
GeneralRe: Print word document without opening it. Pin
Heath Stewart19-Dec-03 4:59
protectorHeath Stewart19-Dec-03 4:59 
QuestionHow to winsdows service Programing???? Pin
h_wing19-Dec-03 3:46
h_wing19-Dec-03 3:46 
AnswerRe: How to winsdows service Programing???? Pin
Mazdak19-Dec-03 4:21
Mazdak19-Dec-03 4:21 
QuestionHow to Socket Programing... Pin
h_wing19-Dec-03 3:16
h_wing19-Dec-03 3:16 
AnswerRe: How to Socket Programing... Pin
Jinwah19-Dec-03 3:42
Jinwah19-Dec-03 3:42 
AnswerRe: How to Socket Programing... Pin
Heath Stewart19-Dec-03 3:43
protectorHeath Stewart19-Dec-03 3:43 
Generalcreate new dial_up connection Pin
heba_zien19-Dec-03 3:15
heba_zien19-Dec-03 3:15 
GeneralRe: create new dial_up connection Pin
Heath Stewart19-Dec-03 3:39
protectorHeath Stewart19-Dec-03 3:39 
GeneralRe: create new dial_up connection Pin
Member 74005419-Dec-03 12:13
Member 74005419-Dec-03 12:13 
GeneralRuntime Control Resizer Pin
Jinwah19-Dec-03 2:29
Jinwah19-Dec-03 2:29 
GeneralRe: Runtime Control Resizer Pin
Heath Stewart19-Dec-03 3:36
protectorHeath Stewart19-Dec-03 3:36 
QuestionApplication configuration? Pin
dophka18-Dec-03 23:36
dophka18-Dec-03 23:36 
AnswerRe: Application configuration? Pin
Kannan Kalyanaraman18-Dec-03 23:58
Kannan Kalyanaraman18-Dec-03 23:58 
GeneralRe: Application configuration? Pin
dophka19-Dec-03 0:30
dophka19-Dec-03 0:30 
AnswerRe: Application configuration? Pin
Heath Stewart19-Dec-03 3:27
protectorHeath Stewart19-Dec-03 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.