Advertisement

04.16.2008 at 07:43AM PDT, ID: 23327288
[x]
Attachment Details

Drop down list selected text problem

Asked by R8VI in Visual Studio 2008, .Net Editors & IDEs, Visual Studio .NET 2005

Tags: ASP.net, C#

Hi,

I have the following line of code

string y =  Country.SelectedItem.Text ;

which is meant to take the text value of a different drop down box, but when I debug it i can see that the variable is not taking the value from the drop down box.
Can any one help to why its not doing it.

Thanks,

R8VIStart Free Trial
[+][-]04.16.2008 at 10:32AM PDT, ID: 21370095

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

Zones: Visual Studio 2008, .Net Editors & IDEs, Visual Studio .NET 2005
Tags: ASP.net, C#
Sign Up Now!
Solution Provided By: sivic82
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.16.2008 at 10:36AM PDT, ID: 21370127

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]04.16.2008 at 12:46PM PDT, ID: 21371301

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.

 
[+][-]04.16.2008 at 01:07PM PDT, ID: 21371490

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