Advertisement

06.19.2008 at 03:54PM PDT, ID: 23500788
[x]
Attachment Details

How do you display the data you entered in a Textbox to a MessageBox in C#?

Asked by wally_davis in Microsoft Visual C#.Net

Tags: ,

I've declared the variable "singleEntry" below as a TextBox. Not sure I've I should have declared the variable type as String. None the less, I want to display the data you enter in a Textbox to a MessageBox in C#?
Most grateful,
WDStart Free Trial
1:
TextBox singleEntry = textBoxSingle.Text;
 
Loading Advertisement...
 
[+][-]06.19.2008 at 03:59PM PDT, ID: 21827203

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C#.Net
Tags: C#, IE 7.0
Sign Up Now!
Solution Provided By: YourReference
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.19.2008 at 04:03PM PDT, ID: 21827214

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 04:04PM PDT, ID: 21827219

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628