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#
  4. help Me pplease

help Me pplease

Scheduled Pinned Locked Moved C#
csharpxmlhelp
7 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.
  • J Offline
    J Offline
    jphuphilly
    wrote on last edited by
    #1

    okay 2 textboxes one box i have user input the other one is a password now i need to bind the userid and the datatime stamp to the listbox that i need to bind to xml file and then call and read that xml file into another listbox on another form im using c# Thanks any help would be greatly appreciated.......i checked out the article on msdn and im still lost. Da Intern

    A 1 Reply Last reply
    0
    • J jphuphilly

      okay 2 textboxes one box i have user input the other one is a password now i need to bind the userid and the datatime stamp to the listbox that i need to bind to xml file and then call and read that xml file into another listbox on another form im using c# Thanks any help would be greatly appreciated.......i checked out the article on msdn and im still lost. Da Intern

      A Offline
      A Offline
      albean
      wrote on last edited by
      #2

      what you just described is a whole program. which part are you having trouble with? Seems to me that you also need an OK button (and a cancel button). In the ok button event place the code that takes the userid and psswd and does what you need. (i.e. you time stamping, output to the xml file ...)

      J 1 Reply Last reply
      0
      • A albean

        what you just described is a whole program. which part are you having trouble with? Seems to me that you also need an OK button (and a cancel button). In the ok button event place the code that takes the userid and psswd and does what you need. (i.e. you time stamping, output to the xml file ...)

        J Offline
        J Offline
        jphuphilly
        wrote on last edited by
        #3

        how do i bind a listbox to an xml file then how do i read that xml file in another form the last part i can probably figure out but binding it to xml file is killing me Thanks Da Intern

        A L 2 Replies Last reply
        0
        • J jphuphilly

          how do i bind a listbox to an xml file then how do i read that xml file in another form the last part i can probably figure out but binding it to xml file is killing me Thanks Da Intern

          A Offline
          A Offline
          albean
          wrote on last edited by
          #4

          I'm not sure if that is possible. Parse the xml file and use the YourList.Items.Add method. Also, I'm not sure what you mean by "xml file in another form". if it is some sort of object you can either make it public, make a property or create a method in the "OtherForm" that allows access to the file. Goodluck

          1 Reply Last reply
          0
          • J jphuphilly

            how do i bind a listbox to an xml file then how do i read that xml file in another form the last part i can probably figure out but binding it to xml file is killing me Thanks Da Intern

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Set the listbox's DataSource with a DataSet, problem solved. leppie::AllocCPArticle(Generic DFA State Machine for .NET);

            J 1 Reply Last reply
            0
            • L leppie

              Set the listbox's DataSource with a DataSet, problem solved. leppie::AllocCPArticle(Generic DFA State Machine for .NET);

              J Offline
              J Offline
              jphuphilly
              wrote on last edited by
              #6

              Uh i still need some more help Da Intern

              L 1 Reply Last reply
              0
              • J jphuphilly

                Uh i still need some more help Da Intern

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #7

                jphuphilly wrote: Uh i still need some more help Uh I cant help you if I dont know what you need help with... Did you try a dataset? leppie::AllocCPArticle(Generic DFA State Machine for .NET);

                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