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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. for loop

for loop

Scheduled Pinned Locked Moved C / C++ / MFC
csharptutorial
12 Posts 6 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 sonyrehal

    plz tell how to convert this statement in vb.net into c# For Each node As XmlNode In xmlNl ddlctry.Items.Add(node.LastChild.InnerText) Next

    S Offline
    S Offline
    Sunil Lanke
    wrote on last edited by
    #2

    foreach (XmlNode node in xmlNl) { ddlctry.Items.Add(node.LastChild.InnerText); }

    H S 2 Replies Last reply
    0
    • S Sunil Lanke

      foreach (XmlNode node in xmlNl) { ddlctry.Items.Add(node.LastChild.InnerText); }

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #3

      ??? C# here Why do you want to propaganda c# here!? :)

      Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

      S 1 Reply Last reply
      0
      • S sonyrehal

        plz tell how to convert this statement in vb.net into c# For Each node As XmlNode In xmlNl ddlctry.Items.Add(node.LastChild.InnerText) Next

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #4

        What is the type of xmlNl ? It is very difficult to help you because we don't know anything about the types of your variables. Edit: oops, I didn't see that it was for C#...

        Cédric Moonen Software developer
        Charting control [v1.5] OpenGL game tutorial in C++

        modified on Wednesday, March 18, 2009 3:49 AM

        1 Reply Last reply
        0
        • H Hamid Taebi

          ??? C# here Why do you want to propaganda c# here!? :)

          Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

          S Offline
          S Offline
          sonyrehal
          wrote on last edited by
          #5

          just needed urgently..

          C CPalliniC 2 Replies Last reply
          0
          • S Sunil Lanke

            foreach (XmlNode node in xmlNl) { ddlctry.Items.Add(node.LastChild.InnerText); }

            S Offline
            S Offline
            sonyrehal
            wrote on last edited by
            #6

            thanx

            1 Reply Last reply
            0
            • S sonyrehal

              just needed urgently..

              C Offline
              C Offline
              Cedric Moonen
              wrote on last edited by
              #7

              If it was so urgent, then why not use the correct forum instead of the C++ forum ?

              Cédric Moonen Software developer
              Charting control [v1.5] OpenGL game tutorial in C++

              1 Reply Last reply
              0
              • S sonyrehal

                just needed urgently..

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #8

                OK: so I badly need a new laptop, can you deliver it to me, plz plz urgentz? :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                In testa che avete, signor di Ceprano?

                I 1 Reply Last reply
                0
                • CPalliniC CPallini

                  OK: so I badly need a new laptop, can you deliver it to me, plz plz urgentz? :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  I Offline
                  I Offline
                  Iain Clarke Warrior Programmer
                  wrote on last edited by
                  #9

                  Just go to: free.laptop.cpalliniz.urgentz.com[^] ! I thought you'd have known that one... Iain.

                  In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

                  CPalliniC 1 Reply Last reply
                  0
                  • I Iain Clarke Warrior Programmer

                    Just go to: free.laptop.cpalliniz.urgentz.com[^] ! I thought you'd have known that one... Iain.

                    In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #10

                    Hey man, do you know:"mai rubare in casa del ladro?" :-D OT: I supposed you were angry with me, since you never replied my emails. :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    In testa che avete, signor di Ceprano?

                    I 1 Reply Last reply
                    0
                    • CPalliniC CPallini

                      Hey man, do you know:"mai rubare in casa del ladro?" :-D OT: I supposed you were angry with me, since you never replied my emails. :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      I Offline
                      I Offline
                      Iain Clarke Warrior Programmer
                      wrote on last edited by
                      #11

                      CPallini wrote:

                      Hey man, do you know:"mai rubare in casa del ladro?"

                      Isn't Ladro pottery from the Netherlands? Put's a new spin on the name! Google: never steal in the house of the thief (I did get "house of" for myself though..., and though Nicely put phrase!

                      CPallini wrote:

                      OT: I supposed you were angry with me, since you never replied my emails.

                      Erm, no embarassed. I got called away for work, and let those 10minuter-s time out, so I never saw the email. CP's email facility is still, erm, less than optimal. Real address: imcclarke @ moc.oohay (I trust you to decrypt the post @ bit) Iain.

                      In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

                      CPalliniC 1 Reply Last reply
                      0
                      • I Iain Clarke Warrior Programmer

                        CPallini wrote:

                        Hey man, do you know:"mai rubare in casa del ladro?"

                        Isn't Ladro pottery from the Netherlands? Put's a new spin on the name! Google: never steal in the house of the thief (I did get "house of" for myself though..., and though Nicely put phrase!

                        CPallini wrote:

                        OT: I supposed you were angry with me, since you never replied my emails.

                        Erm, no embarassed. I got called away for work, and let those 10minuter-s time out, so I never saw the email. CP's email facility is still, erm, less than optimal. Real address: imcclarke @ moc.oohay (I trust you to decrypt the post @ bit) Iain.

                        In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

                        CPalliniC Offline
                        CPalliniC Offline
                        CPallini
                        wrote on last edited by
                        #12

                        Iain Clarke wrote:

                        I trust you to decrypt the post @ bit

                        After all, I'm MVP (anyway, like you, I guess it was for my Lounge posts :rolleyes: ). BTW: good THHB's activity! :)

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        In testa che avete, signor di Ceprano?

                        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