Click here to Skip to main content
15,896,502 members
Home / Discussions / C#
   

C#

 
AnswerRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
PIEBALDconsult21-Oct-14 9:10
mvePIEBALDconsult21-Oct-14 9:10 
GeneralRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
Sam 910021-Oct-14 9:53
Sam 910021-Oct-14 9:53 
GeneralRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
PIEBALDconsult21-Oct-14 10:04
mvePIEBALDconsult21-Oct-14 10:04 
GeneralRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
Sam 910021-Oct-14 11:38
Sam 910021-Oct-14 11:38 
GeneralRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
PIEBALDconsult21-Oct-14 11:48
mvePIEBALDconsult21-Oct-14 11:48 
Answerproblem with multicolumncombo and bindingnavigator movenext ,... Pin
fatemehsoleimani21-Oct-14 4:58
fatemehsoleimani21-Oct-14 4:58 
AnswerRe: problem with multicolumncombo and bindingnavigator movenext ,... Pin
fatemehsoleimani21-Oct-14 21:43
fatemehsoleimani21-Oct-14 21:43 
QuestionHow to trigger coded UI tests from C# code or can I draft mstest commands and trigger through process.start? Pin
vinod chattergee21-Oct-14 1:06
vinod chattergee21-Oct-14 1:06 
AnswerRe: How to trigger coded UI tests from C# code or can I draft mstest commands and trigger through process.start? Pin
Eddy Vluggen21-Oct-14 6:10
professionalEddy Vluggen21-Oct-14 6:10 
GeneralRe: How to trigger coded UI tests from C# code or can I draft mstest commands and trigger through process.start? Pin
vinod chattergee23-Oct-14 19:18
vinod chattergee23-Oct-14 19:18 
GeneralRe: How to trigger coded UI tests from C# code or can I draft mstest commands and trigger through process.start? Pin
Eddy Vluggen24-Oct-14 1:35
professionalEddy Vluggen24-Oct-14 1:35 
QuestionImplementing SSO using SAML, C# Pin
shank07ct21-Oct-14 1:05
shank07ct21-Oct-14 1:05 
AnswerRe: Implementing SSO using SAML, C# Pin
OriginalGriff21-Oct-14 2:35
mveOriginalGriff21-Oct-14 2:35 
AnswerRe: Implementing SSO using SAML, C# Pin
Richard MacCutchan21-Oct-14 2:47
mveRichard MacCutchan21-Oct-14 2:47 
QuestionC# assign ProcessID Pin
Alaric_20-Oct-14 10:56
professionalAlaric_20-Oct-14 10:56 
AnswerRe: C# assign ProcessID Pin
Ravi Bhavnani20-Oct-14 11:33
professionalRavi Bhavnani20-Oct-14 11:33 
GeneralRe: C# assign ProcessID Pin
Alaric_20-Oct-14 15:34
professionalAlaric_20-Oct-14 15:34 
AnswerRe: C# assign ProcessID Pin
Member 9986689 (PandaLion98)25-Oct-14 21:13
professionalMember 9986689 (PandaLion98)25-Oct-14 21:13 
GeneralRe: C# assign ProcessID Pin
Alaric_28-Oct-14 10:11
professionalAlaric_28-Oct-14 10:11 
QuestionWhat is better way to organise code of big project Pin
Member 1115157120-Oct-14 5:08
Member 1115157120-Oct-14 5:08 
AnswerRe: What is better way to organise code of big project Pin
Simon_Whale20-Oct-14 5:15
Simon_Whale20-Oct-14 5:15 
AnswerRe: What is better way to organise code of big project Pin
PIEBALDconsult20-Oct-14 5:16
mvePIEBALDconsult20-Oct-14 5:16 
AnswerRe: What is better way to organise code of big project Pin
Eddy Vluggen20-Oct-14 5:23
professionalEddy Vluggen20-Oct-14 5:23 
AnswerRe: What is better way to organise code of big project Pin
OriginalGriff20-Oct-14 5:31
mveOriginalGriff20-Oct-14 5:31 
A namespace per file doesn't strike me as a good way to do it: I generally arrange one namespace (maybe two or three) per assembly, with each class in one (preferably) or two files, and with the exception of embedded "helper" classes I wouldn't have more than one class per file either.

I generally create assemblies (and thus separate projects) for each logical group: Data Layer, Business Layer, Presentation layer for example would be three assemblies, each containing multiple classes and class files.

I am also a big fan of UserControls, generally having a separate assembly for them as well, and try to keep a form down to five or six controls only - which can be user controls containing more controls. This way, the amount of code in any one class is kept down, which make it easier to work with and understand.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: What is better way to organise code of big project Pin
Member 1115157120-Oct-14 6:35
Member 1115157120-Oct-14 6:35 

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.