Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
QuestionC# parameters Pin
classy_dog23-Jan-13 4:37
classy_dog23-Jan-13 4:37 
AnswerRe: C# parameters Pin
Richard MacCutchan23-Jan-13 5:04
mveRichard MacCutchan23-Jan-13 5:04 
GeneralRe: C# parameters Pin
PIEBALDconsult23-Jan-13 5:29
mvePIEBALDconsult23-Jan-13 5:29 
AnswerRe: C# parameters Pin
jschell23-Jan-13 8:59
jschell23-Jan-13 8:59 
AnswerRe: C# parameters Pin
BC @ CV23-Jan-13 10:17
BC @ CV23-Jan-13 10:17 
QuestionC# file Pin
classy_dog23-Jan-13 4:31
classy_dog23-Jan-13 4:31 
AnswerRe: C# file Pin
Deflinek23-Jan-13 4:37
Deflinek23-Jan-13 4:37 
GeneralRe: C# file Pin
PIEBALDconsult23-Jan-13 5:10
mvePIEBALDconsult23-Jan-13 5:10 
GeneralRe: C# file Pin
OriginalGriff23-Jan-13 5:36
mveOriginalGriff23-Jan-13 5:36 
QuestionUse axFrameControl to open the ppt encountered the error Pin
Jason Fang_22-Jan-13 21:55
Jason Fang_22-Jan-13 21:55 
AnswerRe: Use axFrameControl to open the ppt encountered the error Pin
micke.andersson28-Jan-13 2:55
micke.andersson28-Jan-13 2:55 
QuestionCreating Various Files Using C# Pin
ASPnoob22-Jan-13 17:28
ASPnoob22-Jan-13 17:28 
AnswerRe: Creating Various Files Using C# Pin
PIEBALDconsult22-Jan-13 18:14
mvePIEBALDconsult22-Jan-13 18:14 
AnswerRe: Creating Various Files Using C# Pin
Abhinav S22-Jan-13 19:35
Abhinav S22-Jan-13 19:35 
AnswerRe: Creating Various Files Using C# Pin
Rahul Rajat Singh22-Jan-13 19:38
professionalRahul Rajat Singh22-Jan-13 19:38 
AnswerRe: Creating Various Files Using C# Pin
OriginalGriff22-Jan-13 21:33
mveOriginalGriff22-Jan-13 21:33 
QuestionC# update a audit table Pin
dcof22-Jan-13 15:56
dcof22-Jan-13 15:56 
AnswerRe: C# update a audit table Pin
Mycroft Holmes22-Jan-13 16:28
professionalMycroft Holmes22-Jan-13 16:28 
AnswerRe: C# update a audit table Pin
PIEBALDconsult22-Jan-13 18:25
mvePIEBALDconsult22-Jan-13 18:25 
GeneralRe: C# update a audit table Pin
dcof23-Jan-13 4:41
dcof23-Jan-13 4:41 
GeneralRe: C# update a audit table Pin
PIEBALDconsult23-Jan-13 5:46
mvePIEBALDconsult23-Jan-13 5:46 
Let's say you have a table containing customer orders. An order has an ID, a status, and a number of other things including creation date and user. As the order is processed, the status will change and you want to be able to report each status change.

Rather than having one row and overwriting the previous values, you can create a new row with the new values.

RowID,PreviousID,NextID,OrderID,CreateDate,CreateUser,Status,...
1,null,2,12345,2013-01-02,Alice,New,...
2,1,3,12345,2013-01-04,Bob,Filled,...
3,2,4,12345,2013-01-06,Carol,Shipped,...
4,3,null,12345,2013-01-10,Ted,Received,...

In this way you can easily see the details of an order's life all in one table. When a new state is created, the only change you make to the previous state is to set the NextID field. And the current record is the one with NextID==null.
QuestionTwo others BindingNavigators in one form. How? Pin
Czajo22-Jan-13 6:26
Czajo22-Jan-13 6:26 
AnswerRe: Two others BindingNavigators in one form. How? Pin
Mycroft Holmes22-Jan-13 15:33
professionalMycroft Holmes22-Jan-13 15:33 
GeneralRe: Two others BindingNavigators in one form. How? Pin
Czajo22-Jan-13 21:19
Czajo22-Jan-13 21:19 
QuestionRunning an exe Pin
PozzaVecia22-Jan-13 5:50
PozzaVecia22-Jan-13 5:50 

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.