Click here to Skip to main content
15,916,180 members
Home / Discussions / C#
   

C#

 
AnswerRe: Crystal Report Pin
thatraja3-May-11 2:40
professionalthatraja3-May-11 2:40 
QuestionHow to input class name by user? Pin
wjbjnr2-May-11 22:32
wjbjnr2-May-11 22:32 
AnswerRe: How to input class name by user? [modified] Pin
Steven.Pinto20002-May-11 23:35
Steven.Pinto20002-May-11 23:35 
GeneralRe: How to input class name by user? Pin
wjbjnr6-May-11 3:08
wjbjnr6-May-11 3:08 
GeneralRe: How to input class name by user? [modified] Pin
Steven.Pinto20008-May-11 20:36
Steven.Pinto20008-May-11 20:36 
GeneralRe: How to input class name by user? Pin
wjbjnr15-May-11 19:10
wjbjnr15-May-11 19:10 
GeneralRe: How to input class name by user? Pin
Steven.Pinto200015-May-11 19:26
Steven.Pinto200015-May-11 19:26 
QuestionAbout SplitContainer Resize Pin
jason_mf2-May-11 21:33
jason_mf2-May-11 21:33 
AnswerRe: About SplitContainer Resize Pin
Rick van Woudenberg3-May-11 2:07
Rick van Woudenberg3-May-11 2:07 
GeneralRe: About SplitContainer Resize Pin
jason_mf3-May-11 15:44
jason_mf3-May-11 15:44 
Questiondefault value in combobox Pin
sarang_k2-May-11 18:07
sarang_k2-May-11 18:07 
AnswerRe: default value in combobox Pin
JF20152-May-11 19:09
JF20152-May-11 19:09 
AnswerRe: default value in combobox Pin
Steven.Pinto20002-May-11 23:39
Steven.Pinto20002-May-11 23:39 
AnswerRe: default value in combobox Pin
Rick van Woudenberg3-May-11 1:15
Rick van Woudenberg3-May-11 1:15 
AnswerRe: default value in combobox Pin
BobJanova3-May-11 1:16
BobJanova3-May-11 1:16 
The two answers above me are correct in different cases. If the DropDownStyle is DropDown (i.e. drop/edit), set the Text property to have an initial value. If it is DropDownList, set SelectedIndex (or SelectedItem). You should do this after InitialiseComponent is called; I typically do it lower down in the form class constructor.

Alternatively, if you data bind the combos, they will initialise to the initial value of the property to which they are bound.
AnswerRe: default value in combobox Pin
ambarishtv3-May-11 3:23
ambarishtv3-May-11 3:23 
QuestionI can not achieve if statement in my code Pin
Honeyboy_202-May-11 9:11
Honeyboy_202-May-11 9:11 
AnswerRe: I can not achieve if statement in my code Pin
Keith Barrow2-May-11 9:43
professionalKeith Barrow2-May-11 9:43 
GeneralRe: I can not achieve if statement in my code Pin
Honeyboy_202-May-11 14:30
Honeyboy_202-May-11 14:30 
GeneralRe: I can not achieve if statement in my code Pin
Dave Kreskowiak2-May-11 15:00
mveDave Kreskowiak2-May-11 15:00 
GeneralRe: I can not achieve if statement in my code Pin
Pete O'Hanlon2-May-11 20:11
mvePete O'Hanlon2-May-11 20:11 
GeneralRe: I can not achieve if statement in my code Pin
Keith Barrow2-May-11 23:47
professionalKeith Barrow2-May-11 23:47 
GeneralRe: I can not achieve if statement in my code Pin
#realJSOP3-May-11 4:41
professional#realJSOP3-May-11 4:41 
JokeRe: I can not achieve if statement in my code Pin
Peter_in_27802-May-11 16:18
professionalPeter_in_27802-May-11 16:18 
AnswerRe: I can not achieve if statement in my code Pin
Groulien2-May-11 20:12
Groulien2-May-11 20:12 

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.