Click here to Skip to main content
15,921,467 members
Home / Discussions / C#
   

C#

 
Questioncan't access object in finally-block [solved] Pin
Drum D.16-Jan-07 3:58
Drum D.16-Jan-07 3:58 
AnswerRe: can't access object in finally-block Pin
Pete O'Hanlon16-Jan-07 4:17
mvePete O'Hanlon16-Jan-07 4:17 
AnswerRe: can't access object in finally-block Pin
J4amieC16-Jan-07 5:09
J4amieC16-Jan-07 5:09 
AnswerRe: can't access object in finally-block Pin
Drum D.16-Jan-07 7:33
Drum D.16-Jan-07 7:33 
QuestionScope_identity() doesn't work Pin
cruscotto16-Jan-07 3:45
cruscotto16-Jan-07 3:45 
AnswerRe: Scope_identity() doesn't work Pin
Dave Kreskowiak16-Jan-07 5:51
mveDave Kreskowiak16-Jan-07 5:51 
GeneralRe: Scope_identity() doesn't work Pin
cruscotto16-Jan-07 6:08
cruscotto16-Jan-07 6:08 
GeneralRe: Scope_identity() doesn't work Pin
Dave Kreskowiak16-Jan-07 8:06
mveDave Kreskowiak16-Jan-07 8:06 
I fail to see where you're returning SCOPE_IDENTITY out of the database.

SCOPE_IDENTITY[^] will return the identity column of the last record INSERTed into a table. You're not inserting anything into the table with this code, so of course it's not going to return anything. On top of that, your SQL code isn't event returning the value of SCOPE_IDENTITY. You may want to read up on it so you get a better understanding of what it does.



Dave Kreskowiak
Microsoft MVP - Visual Basic


Questionhelp!! replace string Pin
vanudu16-Jan-07 3:42
vanudu16-Jan-07 3:42 
AnswerRe: help!! replace string Pin
Pete O'Hanlon16-Jan-07 3:47
mvePete O'Hanlon16-Jan-07 3:47 
GeneralRe: help!! replace string Pin
vanudu16-Jan-07 3:48
vanudu16-Jan-07 3:48 
GeneralRe: help!! replace string Pin
Pete O'Hanlon16-Jan-07 3:56
mvePete O'Hanlon16-Jan-07 3:56 
GeneralRe: help!! replace string Pin
vanudu16-Jan-07 4:02
vanudu16-Jan-07 4:02 
GeneralRe: help!! replace string Pin
Pete O'Hanlon16-Jan-07 4:15
mvePete O'Hanlon16-Jan-07 4:15 
AnswerRe: help!! replace string Pin
Seishin#16-Jan-07 3:49
Seishin#16-Jan-07 3:49 
GeneralRe: help!! replace string Pin
vanudu16-Jan-07 3:58
vanudu16-Jan-07 3:58 
GeneralRe: help!! replace string Pin
Dave Kreskowiak16-Jan-07 5:53
mveDave Kreskowiak16-Jan-07 5:53 
AnswerRe: help!! replace string Pin
saud_a_k16-Jan-07 3:50
saud_a_k16-Jan-07 3:50 
QuestionSetUp and Deployment with all prerequisites Pin
saud_a_k16-Jan-07 3:29
saud_a_k16-Jan-07 3:29 
AnswerRe: SetUp and Deployment with all prerequisites Pin
Glen Harvy16-Jan-07 18:43
Glen Harvy16-Jan-07 18:43 
Questionexcel and carriage returns Pin
tim_gunning16-Jan-07 2:56
tim_gunning16-Jan-07 2:56 
QuestionWindows Service - VS2005 c# Pin
NicSch16-Jan-07 2:10
NicSch16-Jan-07 2:10 
AnswerRe: Windows Service - VS2005 c# Pin
Pete O'Hanlon16-Jan-07 2:54
mvePete O'Hanlon16-Jan-07 2:54 
GeneralRe: Windows Service - VS2005 c# Pin
NicSch16-Jan-07 18:04
NicSch16-Jan-07 18:04 
QuestionBinary .dat files Pin
KeithF16-Jan-07 1:54
KeithF16-Jan-07 1:54 

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.