Click here to Skip to main content
15,905,073 members
Home / Discussions / C#
   

C#

 
AnswerRe: Static variable declaration C# Pin
Scott Dorman20-Oct-07 16:17
professionalScott Dorman20-Oct-07 16:17 
QuestionHelp CrystalReport Pin
KppsK20-Oct-07 12:08
KppsK20-Oct-07 12:08 
QuestionD vs C# Pin
Mike717120-Oct-07 11:08
Mike717120-Oct-07 11:08 
AnswerRe: D vs C# Pin
Christian Graus20-Oct-07 12:47
protectorChristian Graus20-Oct-07 12:47 
GeneralRe: D vs C# Pin
Mike717120-Oct-07 14:28
Mike717120-Oct-07 14:28 
GeneralRe: D vs C# Pin
Christian Graus20-Oct-07 14:37
protectorChristian Graus20-Oct-07 14:37 
AnswerRe: D vs C# Pin
PIEBALDconsult21-Oct-07 12:39
mvePIEBALDconsult21-Oct-07 12:39 
QuestionTextBox.Name Pin
j_sen20-Oct-07 8:56
j_sen20-Oct-07 8:56 
Hello, I have a multiple textboxes in a form.

I read in values from a textbox, and depending on what is read in, values are sent to certain textboxes. However I am not able to do this dynamically.

---textfile---
ownerFields_text
--------------
private void writeToApp(string readIn)
{

TextBox txtBox = new TextBox();
txtBox.Name = readIn;
txtBox.Text = "Why wont this work"; //line doesnt work ownerFields_text.Text = "hello"; //line works
}

Although looking in the properties in the debug windows for txtBox,shows property name=ownerFields_text, but its just not printing "Why wont this work". I do not want or cant cycle through controls for the right one.

Thanks.


jimmy
AnswerRe: TextBox.Name Pin
Luc Pattyn20-Oct-07 9:17
sitebuilderLuc Pattyn20-Oct-07 9:17 
GeneralRe: TextBox.Name Pin
Guffa20-Oct-07 9:27
Guffa20-Oct-07 9:27 
GeneralRe: TextBox.Name Pin
Luc Pattyn20-Oct-07 12:14
sitebuilderLuc Pattyn20-Oct-07 12:14 
AnswerRe: TextBox.Name Pin
Guffa20-Oct-07 9:26
Guffa20-Oct-07 9:26 
QuestionHow to add visio shapes into Win Forms using C#? Pin
Pooya Musavi20-Oct-07 3:56
Pooya Musavi20-Oct-07 3:56 
AnswerRe: How to add visio shapes into Win Forms using C#? Pin
Giorgi Dalakishvili20-Oct-07 4:37
mentorGiorgi Dalakishvili20-Oct-07 4:37 
QuestionSplash Screen in C# for Beginners - Intermediate Pin
andyr200520-Oct-07 2:22
andyr200520-Oct-07 2:22 
AnswerRe: Splash Screen in C# for Beginners - Intermediate Pin
Luc Pattyn20-Oct-07 2:27
sitebuilderLuc Pattyn20-Oct-07 2:27 
GeneralRe: Splash Screen in C# for Beginners - Intermediate Pin
Uwe Keim20-Oct-07 3:48
sitebuilderUwe Keim20-Oct-07 3:48 
GeneralRe: Splash Screen in C# for Beginners - Intermediate Pin
Luc Pattyn20-Oct-07 5:15
sitebuilderLuc Pattyn20-Oct-07 5:15 
GeneralRe: Splash Screen in C# for Beginners - Intermediate Pin
Uwe Keim20-Oct-07 6:26
sitebuilderUwe Keim20-Oct-07 6:26 
AnswerRe: Splash Screen in C# for Beginners - Intermediate Pin
Christian Graus20-Oct-07 14:39
protectorChristian Graus20-Oct-07 14:39 
QuestionRe: Splash Screen in C# for Beginners - Intermediate Pin
andyr200520-Oct-07 23:05
andyr200520-Oct-07 23:05 
AnswerRe: Splash Screen in C# for Beginners - Intermediate Pin
Tobias Schoenig21-Oct-07 19:25
Tobias Schoenig21-Oct-07 19:25 
Questionaccept only numbers Pin
kabutar20-Oct-07 2:09
kabutar20-Oct-07 2:09 
AnswerRe: accept only numbers Pin
Giorgi Dalakishvili20-Oct-07 2:15
mentorGiorgi Dalakishvili20-Oct-07 2:15 
GeneralRe: accept only numbers Pin
kabutar20-Oct-07 2:18
kabutar20-Oct-07 2: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.