How to pull up data from three test boxes and show it in a text box?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sacha4
    New Member
    • Sep 2007
    • 11

    How to pull up data from three test boxes and show it in a text box?

    Hi,

    I am working on vb.net. I am really not able to find out how can i derive data from 3 dropdown box and show it in a text box.
    It's like this : My first dropdown shows States, second shows cities, and third shows counties.
    So the text box should be in this order:
    State/City/County.


    Can anyone please tell me how I can do that?

    Thanks in advance
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    Is this ASP.NET or Windows forms?

    Comment

    • sacha4
      New Member
      • Sep 2007
      • 11

      #3
      Originally posted by insertAlias
      Is this ASP.NET or Windows forms?

      It is asp.net!
      Thanks!

      Comment

      • tlhintoq
        Recognized Expert Specialist
        • Mar 2008
        • 3532

        #4
        In C# it would be something like this...

        MyTextBox.Text += MyListBox1.Sele ctedItem.ToStri ng();

        Of course you will have to modify for VB language and beef it up little for your needs.

        Comment

        Working...