Problem setting up my C# program to display XML results according to what my combo/li

This is a discussion on Problem setting up my C# program to display XML results according to what my combo/li within the C# Programming forums, part of the General Programming Boards category; I need to make it so that whenever I have "East" selected under my combobox for example, then only the ...

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    1

    Problem setting up my C# program to display XML results according to what my combo/li

    I need to make it so that whenever I have "East" selected under my combobox for example, then only the list of parks with that particular location will show up. I also need to do the same for whichever facilities are selected and if the park falls within the opening and closing dates as well.

    Here's the C# code I have
    c#hw // Slexy 2.0

    Here's the full XML
    c#hw // Slexy 2.0

    And my XAML
    c#hw // Slexy 2.0

    Any tips/help would be greatly appreciated,

    Tim

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    For your particular usage you can bind your XAML using XPath to the XML file.
    Binding.XPath Property (System.Windows.Data)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Create new combo boxes based on items selected in preview combo box
    By RealityFusion in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2007, 08:50 AM
  2. Help with Combo Box that closes my program
    By Marcos in forum Windows Programming
    Replies: 3
    Last Post: 06-05-2005, 10:09 PM
  3. Combo Box Problem
    By osal in forum Windows Programming
    Replies: 1
    Last Post: 06-06-2004, 04:45 PM
  4. Replies: 0
    Last Post: 03-15-2002, 01:07 PM
  5. change display setting
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-03-2001, 01:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21