Click here to Skip to main content
15,891,981 members
Home / Discussions / Database
   

Database

 
GeneralRe: ADO Connection Application Pin
Anonymous17-Sep-04 15:23
Anonymous17-Sep-04 15:23 
QuestionHow to connect to MSSQL through SSL channel using ADO Pin
Zro15-Sep-04 15:32
Zro15-Sep-04 15:32 
AnswerRe: How to connect to MSSQL through SSL channel using ADO Pin
Zro15-Sep-04 15:43
Zro15-Sep-04 15:43 
QuestionHo do i connect to an XML file using C#.net? Pin
JDUK15-Sep-04 14:04
JDUK15-Sep-04 14:04 
AnswerRe: Ho do i connect to an XML file using C#.net? Pin
Christian Graus15-Sep-04 15:08
protectorChristian Graus15-Sep-04 15:08 
GeneralRe: Ho do i connect to an XML file using C#.net? Pin
JDUK15-Sep-04 15:27
JDUK15-Sep-04 15:27 
GeneralRe: Ho do i connect to an XML file using C#.net? Pin
Christian Graus15-Sep-04 15:30
protectorChristian Graus15-Sep-04 15:30 
GeneralCommand builder and retrieving autoincrement values Pin
maciekj15-Sep-04 11:23
maciekj15-Sep-04 11:23 
Hi
I'm creating insert command object with command builder and then adding "; SELECT SCOPE_IDENTITY() as primary_key_field" formula to CommandText property of this object. I'm also setting its UpdateRowSource property to FirstReturnedRecord.

After calling update method of data adapter I do not get new
primary key value.

I did the same without using command builder (I've created insert command object in code "manually" and it's identical to the one which is created by the command builder) and everything seems to work fine. Does someone have any idea why retrieving autoincrement value doesn't work when I use CommandBuilder?

Thanks for any clues

Maciek

ps. If you need to see a code example, just let me know.
QuestionCan I delete completely a mdb file? Pin
ATC15-Sep-04 6:48
ATC15-Sep-04 6:48 
AnswerRe: Can I delete completely a mdb file? Pin
David Salter16-Sep-04 10:45
David Salter16-Sep-04 10:45 
GeneralError Handling in exception Pin
DotNet15-Sep-04 4:56
DotNet15-Sep-04 4:56 
GeneralRe: Error Handling in exception Pin
Mike Ellison15-Sep-04 12:31
Mike Ellison15-Sep-04 12:31 
Questionhow to save a image sqlserver field to hd Pin
Anonymous15-Sep-04 0:30
Anonymous15-Sep-04 0:30 
AnswerRe: how to save a image sqlserver field to hd Pin
pbpb15-Sep-04 4:18
pbpb15-Sep-04 4:18 
GeneralRe: how to save a image sqlserver field to hd Pin
Anonymous16-Sep-04 4:19
Anonymous16-Sep-04 4:19 
GeneralAlphabetical sorting - SQL Pin
butchzn14-Sep-04 23:14
butchzn14-Sep-04 23:14 
GeneralRe: Alphabetical sorting - SQL Pin
pbpb14-Sep-04 23:46
pbpb14-Sep-04 23:46 
GeneralRe: Alphabetical sorting - SQL Pin
butchzn27-Sep-04 1:44
butchzn27-Sep-04 1:44 
Questioncopy db diagrams from one sql server to another? Pin
Roger Alsing14-Sep-04 21:42
Roger Alsing14-Sep-04 21:42 
AnswerRe: copy db diagrams from one sql server to another? Pin
Totoo15-Sep-04 9:50
Totoo15-Sep-04 9:50 
GeneralVarbinary field comparisons Pin
cpritt14-Sep-04 8:29
cpritt14-Sep-04 8:29 
GeneralRe: Varbinary field comparisons Pin
Jon Rista14-Sep-04 8:44
Jon Rista14-Sep-04 8:44 
GeneralRe: Varbinary field comparisons Pin
cpritt14-Sep-04 9:52
cpritt14-Sep-04 9:52 
GeneralRe: Varbinary field comparisons Pin
Jon Rista14-Sep-04 13:17
Jon Rista14-Sep-04 13:17 
GeneralRe: Varbinary field comparisons Pin
cpritt14-Sep-04 18:57
cpritt14-Sep-04 18:57 

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.