Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. cascading drop down

cascading drop down

Scheduled Pinned Locked Moved C#
csharpsysadminxmlhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sonyrehal
    wrote on last edited by
    #1

    plz help me convert this code in vb.net..please help public CascadingDropDownNameValue[] GetCountry() { CascadingDropDownNameValue[] country = new CascadingDropDownNameValue[252]; XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(Server.MapPath("CountriesAndProvinces.xml")); XmlNodeList xmlNl = xmlDoc.SelectNodes("CountriesAndProvinces/Countries/Country"); int i = 0; foreach(XmlNode node in xmlNl) { country[i] = new CascadingDropDownNameValue(node.LastChild.InnerText, node.FirstChild.InnerText); i++; } return country; }

    J D 2 Replies Last reply
    0
    • S sonyrehal

      plz help me convert this code in vb.net..please help public CascadingDropDownNameValue[] GetCountry() { CascadingDropDownNameValue[] country = new CascadingDropDownNameValue[252]; XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(Server.MapPath("CountriesAndProvinces.xml")); XmlNodeList xmlNl = xmlDoc.SelectNodes("CountriesAndProvinces/Countries/Country"); int i = 0; foreach(XmlNode node in xmlNl) { country[i] = new CascadingDropDownNameValue(node.LastChild.InnerText, node.FirstChild.InnerText); i++; } return country; }

      J Offline
      J Offline
      jaypatel512
      wrote on last edited by
      #2

      We cant help you such a way .. And you have posted it in C# not in C#toVb.Net forum. All you need to do is google a converter . . a c# to vb.net converter. You can find many. They are free easy and ready to work. So first try yourself and then come here . . . This is what a real computer freak does. ....

      1 Reply Last reply
      0
      • S sonyrehal

        plz help me convert this code in vb.net..please help public CascadingDropDownNameValue[] GetCountry() { CascadingDropDownNameValue[] country = new CascadingDropDownNameValue[252]; XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load(Server.MapPath("CountriesAndProvinces.xml")); XmlNodeList xmlNl = xmlDoc.SelectNodes("CountriesAndProvinces/Countries/Country"); int i = 0; foreach(XmlNode node in xmlNl) { country[i] = new CascadingDropDownNameValue(node.LastChild.InnerText, node.FirstChild.InnerText); i++; } return country; }

        D Offline
        D Offline
        dan sh
        wrote on last edited by
        #3

        What sort of help are you seeking? If you are looking for someone to convert the code for you then you have rarest of rare chance here.

        जय हिंद

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups