Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
GeneralWriting Objects into a Databases Pin
00carl003-Jan-08 0:50
00carl003-Jan-08 0:50 
GeneralRe: Writing Objects into a Databases Pin
darkelv3-Jan-08 0:57
darkelv3-Jan-08 0:57 
GeneralRe: Writing Objects into a Databases Pin
Giorgi Dalakishvili3-Jan-08 1:39
mentorGiorgi Dalakishvili3-Jan-08 1:39 
GeneralRe: Writing Objects into a Databases Pin
Russell Jones3-Jan-08 5:51
Russell Jones3-Jan-08 5:51 
GeneralRe: Writing Objects into a Databases Pin
Giorgi Dalakishvili3-Jan-08 7:59
mentorGiorgi Dalakishvili3-Jan-08 7:59 
GeneralRe: Writing Objects into a Databases Pin
Russell Jones3-Jan-08 5:55
Russell Jones3-Jan-08 5:55 
QuestionWhich one is good practice? Pin
Hum Dum3-Jan-08 0:00
Hum Dum3-Jan-08 0:00 
AnswerRe: Which one is good practice? Pin
Colin Angus Mackay3-Jan-08 0:49
Colin Angus Mackay3-Jan-08 0:49 
humdumof wrote:
a) which one is good practice to carry out ?


It depends on what you want to do. Adding controls through the designer is great for controls that will always be there (it makes it much easier to modify the controls). Adding controls via code is great if they are dynamic. (Also note that when the designer creates controls it is just writing code for them also)


humdumof wrote:
b) what the difference between them ?


There is none. The designer will just write code for you. See the designer.cs file that goes along with your form. You will see that your form is a partial class. You get control over one file, visual studio gets the other.


humdumof wrote:
c) Even though we have VS, somtime we design/use control thru coding, why ?


VS cannot do everything. The developers that created it do not (cannot) know everything that you might want to do with forms.


AnswerRe: Which one is good practice? Pin
Alaric_3-Jan-08 4:16
professionalAlaric_3-Jan-08 4:16 
GeneralIN operator Pin
mpavas2-Jan-08 23:32
mpavas2-Jan-08 23:32 
GeneralRe: IN operator Pin
sujithkumarsl2-Jan-08 23:39
sujithkumarsl2-Jan-08 23:39 
GeneralRe: IN operator Pin
mpavas2-Jan-08 23:41
mpavas2-Jan-08 23:41 
GeneralRe: IN operator Pin
Alaric_3-Jan-08 4:30
professionalAlaric_3-Jan-08 4:30 
GeneralRe: IN operator Pin
Colin Angus Mackay3-Jan-08 5:10
Colin Angus Mackay3-Jan-08 5:10 
GeneralRe: IN operator Pin
Dave Kreskowiak3-Jan-08 5:35
mveDave Kreskowiak3-Jan-08 5:35 
GeneralRelative Date Format (DateTimePicker Control) Pin
kaminem2-Jan-08 23:11
kaminem2-Jan-08 23:11 
GeneralRe: Relative Date Format (DateTimePicker Control) Pin
sujithkumarsl2-Jan-08 23:38
sujithkumarsl2-Jan-08 23:38 
QuestionRe: Relative Date Format (DateTimePicker Control) [modified] Pin
kaminem2-Jan-08 23:56
kaminem2-Jan-08 23:56 
GeneralAutomatic update Pin
N a v a n e e t h2-Jan-08 22:25
N a v a n e e t h2-Jan-08 22:25 
GeneralRe: Automatic update Pin
Christian Graus2-Jan-08 22:30
protectorChristian Graus2-Jan-08 22:30 
GeneralRe: Automatic update Pin
N a v a n e e t h2-Jan-08 23:23
N a v a n e e t h2-Jan-08 23:23 
GeneralRe: Automatic update Pin
Russell Jones3-Jan-08 23:19
Russell Jones3-Jan-08 23:19 
GeneralRe: Automatic update Pin
N a v a n e e t h5-Jan-08 8:38
N a v a n e e t h5-Jan-08 8:38 
GeneralRe: Automatic update Pin
Vasudevan Deepak Kumar2-Jan-08 22:35
Vasudevan Deepak Kumar2-Jan-08 22:35 
GeneralRe: Automatic update Pin
N a v a n e e t h2-Jan-08 23:24
N a v a n e e t h2-Jan-08 23:24 

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.