Click here to Skip to main content
15,895,256 members
Home / Discussions / C#
   

C#

 
AnswerRe: Printing from a web application. Pin
Pete O'Hanlon19-May-08 8:29
mvePete O'Hanlon19-May-08 8:29 
QuestionRemoting + Events Pin
smoke8619-May-08 7:01
smoke8619-May-08 7:01 
Questionc# windows application browse and upload functionality sourcecode Pin
jay10019-May-08 7:00
jay10019-May-08 7:00 
AnswerRe: c# windows application browse and upload functionality sourcecode Pin
SomeGuyThatIsMe19-May-08 7:40
SomeGuyThatIsMe19-May-08 7:40 
QuestionRetrieving the identity value after insert a row. Pin
aecordoba19-May-08 6:51
aecordoba19-May-08 6:51 
AnswerRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe19-May-08 7:01
SomeGuyThatIsMe19-May-08 7:01 
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba19-May-08 7:29
aecordoba19-May-08 7:29 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe19-May-08 7:36
SomeGuyThatIsMe19-May-08 7:36 
What are you using for your identity column value..is it an auto increment field? I never use auto increment fields, for this reason, i actually have a table called counters that has maybe a dozen or so values that i increment every time i reference them, but i never let the db adjust them on its own, i use a getNextNumber stored procedure that returns the current value and then increments it so its ready for next time. that way i always know what PK i'm dealing with in the code. Or i make the PK derive from something i know so that its never not known or available to me in code or SQL. but anyway, You would have to call the update method on the dataAdapter assoc'd with your dataSet(assuming you are doing it that way) and then go find your new row in the result set it returned..probably the last one, unless you order them differently in your select statement.
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba20-May-08 2:18
aecordoba20-May-08 2:18 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe20-May-08 3:16
SomeGuyThatIsMe20-May-08 3:16 
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba21-May-08 1:51
aecordoba21-May-08 1:51 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe21-May-08 2:09
SomeGuyThatIsMe21-May-08 2:09 
GeneralCrystalReportViewer Toolbox print button event Pin
Kit Fisto19-May-08 6:25
Kit Fisto19-May-08 6:25 
QuestionProblem With '{ }' Pin
Saba0219-May-08 5:48
Saba0219-May-08 5:48 
AnswerRe: Problem With '{ }' Pin
Gareth H19-May-08 6:01
Gareth H19-May-08 6:01 
AnswerRe: Problem With '{ }' Pin
Peter Vertes19-May-08 6:06
Peter Vertes19-May-08 6:06 
AnswerRe: Problem With '{ }' Pin
#realJSOP19-May-08 6:37
mve#realJSOP19-May-08 6:37 
QuestionFile.WriteAllBytes and File.ReadAllBytes Pin
Ian Uy19-May-08 5:10
Ian Uy19-May-08 5:10 
AnswerRe: File.WriteAllBytes and File.ReadAllBytes Pin
User 665819-May-08 5:41
User 665819-May-08 5:41 
GeneralRe: File.WriteAllBytes and File.ReadAllBytes Pin
Ian Uy19-May-08 5:43
Ian Uy19-May-08 5:43 
GeneralRe: File.WriteAllBytes and File.ReadAllBytes Pin
User 665819-May-08 5:53
User 665819-May-08 5:53 
GeneralRe: File.WriteAllBytes and File.ReadAllBytes Pin
Ian Uy19-May-08 5:57
Ian Uy19-May-08 5:57 
AnswerRe: File.WriteAllBytes and File.ReadAllBytes Pin
Adeel Chaudhry19-May-08 5:53
Adeel Chaudhry19-May-08 5:53 
GeneralRe: File.WriteAllBytes and File.ReadAllBytes Pin
Ian Uy19-May-08 5:56
Ian Uy19-May-08 5:56 
GeneralRe: File.WriteAllBytes and File.ReadAllBytes Pin
Adeel Chaudhry19-May-08 8:18
Adeel Chaudhry19-May-08 8:18 

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.