Click here to Skip to main content
15,914,163 members
Home / Discussions / C#
   

C#

 
AnswerRe: MS Office System Color? Pin
ednrgc30-Nov-06 6:25
ednrgc30-Nov-06 6:25 
AnswerRe: MS Office System Color? Pin
Darren Sim30-Nov-06 6:28
Darren Sim30-Nov-06 6:28 
QuestionHow to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK29-Nov-06 21:34
BalasahebK29-Nov-06 21:34 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Guffa29-Nov-06 21:44
Guffa29-Nov-06 21:44 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK29-Nov-06 22:15
BalasahebK29-Nov-06 22:15 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Guffa29-Nov-06 23:06
Guffa29-Nov-06 23:06 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK29-Nov-06 23:31
BalasahebK29-Nov-06 23:31 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Guffa30-Nov-06 0:08
Guffa30-Nov-06 0:08 
That's better, that stored procedure actually has an output parameter.

Why are you returning the value of @STATUS both as an output parameter and a result?

Anyway, the code that you showed earlier that created the parameter object should work just fine. After you have closed the reader, you can retrieve the value from the Value property of the parameter object. The value is returned boxed inside an object, so you have to unbox it by casting it to the type int.

---
b { font-weight: normal; }

GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK30-Nov-06 0:07
BalasahebK30-Nov-06 0:07 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Guffa30-Nov-06 0:10
Guffa30-Nov-06 0:10 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK30-Nov-06 0:49
BalasahebK30-Nov-06 0:49 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK30-Nov-06 1:31
BalasahebK30-Nov-06 1:31 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Guffa30-Nov-06 2:04
Guffa30-Nov-06 2:04 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK30-Nov-06 2:24
BalasahebK30-Nov-06 2:24 
AnswerRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
Not Active29-Nov-06 21:47
mentorNot Active29-Nov-06 21:47 
GeneralRe: How to read value from database using sqlhelper.ExecuteReader & Stored procedure, Output parameter Pin
BalasahebK29-Nov-06 22:09
BalasahebK29-Nov-06 22:09 
Questionpotentially dangerous !!! Pin
Tamimi - Code29-Nov-06 20:58
Tamimi - Code29-Nov-06 20:58 
AnswerRe: potentially dangerous !!! Pin
Guffa30-Nov-06 0:17
Guffa30-Nov-06 0:17 
QuestionXmlDocument - Browser View in Form Pin
h@s@n29-Nov-06 20:35
h@s@n29-Nov-06 20:35 
AnswerRe: XmlDocument - Browser View in Form Pin
Nader Elshehabi29-Nov-06 22:39
Nader Elshehabi29-Nov-06 22:39 
GeneralRe: XmlDocument - Browser View in Form Pin
h@s@n29-Nov-06 23:00
h@s@n29-Nov-06 23:00 
GeneralRe: XmlDocument - Browser View in Form Pin
Nader Elshehabi30-Nov-06 1:06
Nader Elshehabi30-Nov-06 1:06 
QuestionNumber to words utility Pin
Ramesh.V29-Nov-06 20:33
Ramesh.V29-Nov-06 20:33 
AnswerRe: Number to words utility Pin
Nader Elshehabi29-Nov-06 22:47
Nader Elshehabi29-Nov-06 22:47 
QuestionNeed to use REGEX Pin
M Riaz Bashir29-Nov-06 19:37
M Riaz Bashir29-Nov-06 19:37 

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.