Click here to Skip to main content
16,004,602 members
Home / Discussions / C#
   

C#

 
Generalhelp. Web Service Pin
intrigued1-Sep-04 14:42
intrigued1-Sep-04 14:42 
GeneralRe: help. Web Service Pin
Heath Stewart1-Sep-04 15:39
protectorHeath Stewart1-Sep-04 15:39 
Generalhelp. Web Service Pin
intrigued1-Sep-04 14:42
intrigued1-Sep-04 14:42 
GeneralRe: help. Web Service Pin
Pradeep.S2-Sep-04 20:30
sussPradeep.S2-Sep-04 20:30 
GeneralZooming on bitmaps using C# coding Pin
gijoebijoe1-Sep-04 13:26
gijoebijoe1-Sep-04 13:26 
GeneralRe: Zooming on bitmaps using C# coding Pin
Christian Graus1-Sep-04 13:38
protectorChristian Graus1-Sep-04 13:38 
GeneralExecuteNonQuery returns -1 Pin
creganc1-Sep-04 9:34
creganc1-Sep-04 9:34 
GeneralRe: ExecuteNonQuery returns -1 Pin
Charlie Williams1-Sep-04 10:31
Charlie Williams1-Sep-04 10:31 
Update, Insert, and Delete commands will return the number of rows affected. Anything else returns -1.

creganc wrote:
If i execute the Stored procedure directly it works fine (i.e. one row is returned).

I'm unsure whether you mean the row is returned or the count of rows affected is returned when the procedure is executed directly. If you mean the actual row is returned, it is a Select statement and the return value will always be -1.



Charlie

if(!curlies){ return; }
GeneralRe: ExecuteNonQuery returns -1 Pin
creganc1-Sep-04 11:28
creganc1-Sep-04 11:28 
GeneralRe: ExecuteNonQuery returns -1 Pin
Charlie Williams1-Sep-04 12:26
Charlie Williams1-Sep-04 12:26 
GeneralRe: ExecuteNonQuery returns -1 Pin
creganc1-Sep-04 12:33
creganc1-Sep-04 12:33 
GeneralExpense Management tool in C# Pin
MT_SEA1-Sep-04 9:12
MT_SEA1-Sep-04 9:12 
GeneralDetermining if a file is locked by another process Pin
nhoellei1-Sep-04 9:06
nhoellei1-Sep-04 9:06 
GeneralRe: Determining if a file is locked by another process Pin
Heath Stewart1-Sep-04 15:47
protectorHeath Stewart1-Sep-04 15:47 
GeneralRe: Determining if a file is locked by another process Pin
Pradeep Shamarao2-Sep-04 21:00
Pradeep Shamarao2-Sep-04 21:00 
GeneralEvent handling in Custom Server Controls Pin
gorebash1-Sep-04 7:50
gorebash1-Sep-04 7:50 
GeneralRe: Event handling in Custom Server Controls Pin
Charlie Williams1-Sep-04 8:40
Charlie Williams1-Sep-04 8:40 
Generallocation based system Pin
mathon1-Sep-04 7:16
mathon1-Sep-04 7:16 
GeneralRe: location based system Pin
Heath Stewart1-Sep-04 15:33
protectorHeath Stewart1-Sep-04 15:33 
QuestionHow to cut a picture...?? Pin
Member 9401251-Sep-04 6:47
Member 9401251-Sep-04 6:47 
QuestionHow can I get width of window of my program when it change? Pin
arbrsoft1-Sep-04 5:51
arbrsoft1-Sep-04 5:51 
AnswerRe: How can I get width of window of my program when it change? Pin
LongRange.Shooter1-Sep-04 7:34
LongRange.Shooter1-Sep-04 7:34 
QuestionUnable to capture USB Gamepad using DirectInput? Pin
zhaonian1-Sep-04 4:57
zhaonian1-Sep-04 4:57 
AnswerRe: Unable to capture USB Gamepad using DirectInput? Pin
Heath Stewart1-Sep-04 15:27
protectorHeath Stewart1-Sep-04 15:27 
GeneralData Marshalling issues when Calling C++ dll in C# using P/Invoke Pin
KZHU011-Sep-04 4:17
KZHU011-Sep-04 4:17 

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.